Pixelmon Mod - Bug tracker

[9.0.0-1.16.5] Japanese translation does not work fix completed

Ticket description:
Thank you for the wonderful MOD.
Sorry for my poor English.

I installed the recently released 1.16.5-9.0.0 version of Pixelmon and found that the Japanese translation is not working.

After checking the contents of Pixelmon-1.16.5-9.0.0-universal.jar, it seems that the problem occurs in assets > pixelmon > lang > ja_jp.json.

Code: Select all"_comment": "all you need to do is replace the text after the "=" to what you",

Code: Select all"_comment": "item stands for "it is an item", just like in item.PC.name.",

Code: Select all"_comment": "The ones with "attack.attackName.name" are the attacks' actual names and",

Code: Select all"_comment": "the ones with "description" at the end are their descriptions.",


I think the problem is caused by the use of double quotation marks in the "_comment" string.

This problem may also occur in other languages than Japanese.

In my environment, I solved the problem by removing all "_comment" elements. I would appreciate it if you could check.

Comments

#25551 Posted by Katzyn » 26 May 2022 19:42

Hi there!

Thank you very much for your report! I will pass it on to our Internal tracker.

#26167 Posted by StrangeOne101 » 07 Jun 2022 07:22

I can confirm this. It seems these comments were left in from the 1.12.2 language files, and these comments invalidate the JSON format.

This can also be seen in the logs when loading up in JP.

Code: Select all[23:34:17] [main/WARN]: Skipped language file: pixelmon:lang/ja_jp.json (com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 6 column 69 path $._comment)


Oddly enough, I couldn't fix this with a resource pack. I could only fix this with a jar replacement.

#26270 Posted by StrangeOne101 » 11 Jun 2022 05:26

Confirmed to be an issue in 9.0.2

Ticket details

  • Ticket ID: 17659
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Other
  • Project version: 1.16.5-9.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: forge-1.16.5-36.2.34
  • What else would be useful to know?: (unknown)
  • Assigned to: Katzyn
  • Reported by: Yupon (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 26 May 2022 08:32
  • Ticket last visited by: Sophie847 on 18 Dec 2022 01:19
JOIN THE TEAM