Skip to content

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

@bobhenl

Description

@bobhenl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Requires TestingThis is a new issue which needs to be approved before labeled with "bug"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions