Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown plural rule “(n !”; without JavaScript engine available #81

Open
knniDE opened this issue Dec 20, 2021 · 2 comments
Open

Unknown plural rule “(n !”; without JavaScript engine available #81

knniDE opened this issue Dec 20, 2021 · 2 comments
Labels
C ⋅ API Component – API-related (generic)

Comments

@knniDE
Copy link

knniDE commented Dec 20, 2021

[00:08:35 WARN]: [ImageOnMap] Unknown plural rule “(n !”; without JavaScript engine available, well fallback to English pluralization rules. If you want your languages plural rules supported without JavaScript engine, please open an issue with your language and its plural rules at https://github.com/zDevelopers/QuartzLib/issues.

Paper version git-Paper-81 (MC: 1.18.1)
ImageOnMap version 4.2.1

java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)

additional:
de_DE translations dont work in the GUI
the warning appears when you want to generate a map. (which also works)

@Vlammar
Copy link
Member

Vlammar commented Dec 20, 2021

Hello, can you make sure that the line "Plural-Forms: nplurals=2; plural=(n != 1);\n" is correctly set in your PO file?
For reference here is the PO file used for the german translation https://github.com/zDevelopers/ImageOnMap/blob/cc58b1d3200f63ceb514ecc10302315950f9a9a6/src/main/resources/i18n/de_DE.po

@Vlammar Vlammar added the C ⋅ API Component – API-related (generic) label Dec 20, 2021
@knniDE
Copy link
Author

knniDE commented Dec 20, 2021

I have not changed anything in the ImageOnMap-4.2.1.jar. Also I have not swapped out the translations. In the plugins folder is only the config.yml and images and maps folder.
I have nevertheless opened the jar with winrar and looked at the mentioned de_DE.po. There the line "Plural-Forms: nplurals=2; plural=(n != 1);\n" is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C ⋅ API Component – API-related (generic)
Projects
None yet
Development

No branches or pull requests

2 participants