cabarius / ToyBox

Toy Box is a cute and playful mod with 500+ cheats, tweaks and quality of life improvements for Pathfinder: WoTR. It was created in the spirit of Bag of Tricks & Cheat Menu but with a little different focus . It of a powerful and convenient way to edit the party composition, stats, search and add Feats, Features, Items, etc. to party members.
MIT License
160 stars 107 forks source link

Somebody Help me!!! localization for korean #1087

Closed 00omega00 closed 2 months ago

00omega00 commented 2 months ago

Description of the bug

Thank you for creating this great mod. I have one question.

When I read the localization part of the options in this mod, it said that if you export to another language and then modify the empty parts of the file, it can be converted to that language.

So I exported to South Korean and just Korean, and then compared it to the English and Chinese versions, filling in the empty parts to Koreanize it. But the output is only in English, not Korean. As a test, I modified just a few words in a Chinese file to Korean, but even that Chinese file is now only outputting in English.

Why is this happening? I'm not a programmer, so I'm not sure what the issue could be. Does anyone know what might be causing this?

I attached korean language files in [Anything else?]

Steps To Reproduce

As written in the description.

Expected Behavior

No response

Log Files

No response

Save File

No response

Screenshots

No response

Settings

No response

Toybox Version

1.5.10a

Operating System

win 10 64bit

What game are you using Toybox on?

Pathfinder Wrath of the Righteous

Game Version

2.2.4p

Anything else?

ko-KR.json kr.json

xADDBx commented 2 months ago

Validate your .json (either using a json Validator or by reading the log) Here's an example of log: grafik Corresponding section of the .json: grafik

Ended a string with double "" thrice (see image with example) grafik

Forgot a , at end of line 12 times Deleted the original english key ("original": ) once Ended string too early with a " once Used : : instead of only : once

How I did it:

  1. Open language file
  2. Switch to language file in ToyBox
  3. Change to Logs tab; read error; fix error in language file and save
  4. Repeat 2. and 3. until file loads successfully

Here's a fixed ko-KR file ko-KR.json grafik

00omega00 commented 2 months ago

Awesome!! Thank u sooooooooooooo much!!!!!!!!!!