IntellectualSites / IntellectualSites/PlotSquared
No resource for locale 'xx' even when it is uploaded
Nobody has claimed this yet.
- 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]
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
- Just download the files from the https://github.com/IntellectualSites/Translations/tree/main/PlotSquared (these that are green by the crowdin)
- Upload them into the messages folder like on the image
- 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 ...
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
- I have included a Plot debugpaste.
- I am using the newest build from https://www.spigotmc.org/resources/77506/ and the issue still persists.
Anything else?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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