IntellectualSites / IntellectualSites/PlotSquared

No resource for locale 'xx' even when it is uploaded

Open
#4,825 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Requires Testing
Dominant language
Java
Stars
653
Forks
975
Avg merge
2m
Merged PRs (30d)
6

Description

Server Implementation

Paper

Server Version

1.21.11

Describe the bug
plotsquared reload
[15:59:37 INFO]: [PlotSquared/ClassLoaderCaptionProvider] No resource for locale 'de' found in the plugin file.Please ensure you have placed the latest version of the file messages_de.json in the 'lang' folder.You may be able to find completed translations at https://intellectualsites.crowdin.com/plotsquared
[15:59:37 INFO]: [PlotSquared/ClassLoaderCaptionProvider] No resource for locale 'es' found in the plugin file.Please ensure you have placed the latest version of the file messages_es.json in the 'lang' folder.You may be able to find completed translations at https://intellectualsites.crowdin.com/plotsquared
[15:59:37 INFO]: [PlotSquared/ClassLoaderCaptionProvider] No resource for locale 'fr' found in the plugin file.Please ensure you have placed the latest version of the file messages_fr.json in the 'lang' folder.You may be able to find completed translations at https://intellectualsites.crowdin.com/plotsquared
[15:59:37 INFO]: [PlotSquared/ClassLoaderCaptionProvider] No resource for locale 'fi' found in the plugin file.Please ensure you have placed the latest version of the file messages_fi.json in the 'lang' folder.You may be able to find completed translations at https://intellectualsites.crowdin.com/plotsquared
[15:59:37 INFO]: [PlotSquared/ClassLoaderCaptionProvider] No resource for locale 'zh' found in the plugin file.Please ensure you have placed the latest version of the file messages_zh.json in the 'lang' folder.You may be able to find completed translations at https://intellectualsites.crowdin.com/plotsquared
[15:59:37 INFO]: [PlotSquared/CaptionLoader] Loaded 6 message files. Loaded Languages: [de, fi, es, zh, fr, en]
Image

I normally used the files from the https://intellectualsites.gitbook.io/plotsquared#other-links ->
Download Translations -> https://github.com/IntellectualSites/Translations/tree/main/PlotSquared and it doesn't work (it cannot be in subfolder as otherwise it doesn't load).

I have enabled per player language, but this probably isn't related.

To Reproduce
  1. Just download the files from the https://github.com/IntellectualSites/Translations/tree/main/PlotSquared (these that are green by the crowdin)
  2. Upload them into the messages folder like on the image
  3. It will throw errors on reload / startup
Expected behaviour

No errors it should work. It says that it loaded message files, but why it shows these errors No resource for locale ...

Image

I'm not sure if it's loaded or not.

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/6881254477b14db99e7cebcca07e0eba

PlotSquared Version

7.5.10-SNAPSHOT

Checklist
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reload or startup behavior using the translated files from the PlotSquared Translations repository and the messages folder layout shown in the report. Trace the locale resource-loading path to determine why the files are reported as missing despite six message files loading; done means uploaded translations load without erroneous missing-resource messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.