For the one's who found the editing of the JSON files by hand too annoying I've a lil' app, maybe it's even something you'll find good @Iavra .
If you think it's bad you can delete my message, if not just enjoy it. Its free and you won't need to name me in the credits, just enjoy. ^^
IAVRA Localization Translation-Editor
Greetings
DragonSkills99
PS: For any help or bug-fix please contact me the ways described in my contact-page.
Iavra Localization
● ARCHIVED · READ-ONLY
-
-
Can you make the program more...redistributable? I am now in the middle of installing 6+ GB of Visual Studio IDE in order to install the required Newtonsoft.JSON and Noesis.Javascript. Not that I hate it but it should not be a necessary step for the average user.For the one's who found the editing of the JSON files by hand too annoying I've a lil' app, maybe it's even something you'll find good @Iavra .
If you think it's bad you can delete my message, if not just enjoy it. Its free and you won't need to name me in the credits, just enjoy. ^^
IAVRA Localization Translation-Editor
Greetings
DragonSkills99
Edit: Now that it turned out I only need two dlls, but nevetheless it gives 'startIndex can not be larger than string length' error and could not parse any text. -
Can you make the program more...redistributable? I am now in the middle of installing 6+ GB of Visual Studio IDE in order to install the required Newtonsoft.JSON and Noesis.Javascript. Not that I hate it but it should not be a necessary step for the average user.
Edit: Now that it turned out I only need two dlls, but nevetheless it gives 'startIndex can not be larger than string length' error and could not parse any text.
The dlls shouldn't even be needed because they are merged into the application. Just .net is needed, but it's included in the windows updates. And for the error can you please copy the full error and send it to me (to the mail connected to this account or the one on the contact page of my website) Because this shouldn't develop to a debug thread for my Program^^ -
Done. Please check your gmail.The dlls shouldn't even be needed because they are merged into the application. Just .net is needed, but it's included in the windows updates. And for the error can you please copy the full error and send it to me (to the mail connected to this account or the one on the contact page of my website) Because this shouldn't develop to a debug thread for my Program^^
-
For anyone else, in future please just write me an E-Mail and don't post in this forum, if you encounter any bug with my program. I don't want to annoy Iavra. And this is just a thread for his plugin. I will try to fix any error, sent to me by mail. And the error from goldcut is fixed, so if you've already downloaded the program. You can just visit my website and download the new version.
Greetings
DragonSkills99 -
Hello
How can I call .json file ? anyone have some demo ? -
Those files are plain text-files with a special structure. They can be opened by any text program like the Windows Editor, Notepad++, Sublime Text,...Hello
How can I call .json file ? anyone have some demo ?
Greetings
DragonSkills99 -
Those files are plain text-files with a special structure. They can be opened by any text program like the Windows Editor, Notepad++, Sublime Text,...
Greetings
DragonSkills99
Oh..I meaning how to use it? I don't understand how to use and how I call them to use. -
Iavra already wrote how to use them along with his plugin just read this thread (not the comments) fully. Those files can't be called, they are just text-files for saving data. They just can be read, and the one reading these files in this case is Iavras plugin.Oh..I meaning how to use it? I don't understand how to use and how I call them to use.
-
Iavra already wrote how to use them along with his plugin just read this thread (not the comments) fully. Those files can't be called, they are just text-files for saving data. They just can be read, and the one reading these files in this case is Iavras plugin.
Thank you very much , it's easy than I think. I confused to be use this script now I got it :D
thanks again. -
This plugin is not playing nicely with my project in 1.6.1. I receive the following error in the debug menu when trying to use it:
Uncaught SyntaxError: Unexpected token c in JSON at position 118075
at JSON.parse (<anonymous>)
at XMLHttpRequest.request.onload (Iavra Localization - Core.js:129)
I cannot find a way to use this which I desperately need to, considering all of the text in my game is in a json.
EDIT: I feel so stupid.
I needed two backslashes on color codes.
rip the last 3 hours of my life. -
Iavra already wrote how to use them along with his plugin just read this thread (not the comments) fully. Those files can't be called, they are just text-files for saving data. They just can be read, and the one reading these files in this case is Iavras plugin.
another question please,how can I create new group of text? I want to separate text between normal text for chat and text for shop or event. -
Hey @Iavra :)
This is a great plugin! ^^
I'm not sure if this plugin is still supported but I'll ask anyway: I've tried to use the script calls but none of them seem to work. I especially try to use "IAVRA.I18N.language = lang;" but I just get an error saying "lang is not defined". I also tried to change lang to en because I want the language to change to English that way but that didn't work either. I want to give the player the option to select the language before the title screen even appears (I do this through Hime's PreEventTitle-Plugin).
Am I doing something wrong or does the script call doesn't work anymore because of updates to the engine?
I would be happy if you could give me an answer :)
If it doesn't work because of updates I'll just have to roll with it and wouldn't ask you to update the plugin :D -
@Padramyr The script call isn't working because it's looking for a variable named lang or en, which probably aren't defined. You should use quotes around the name.
So it would be:
Iavra.l18N.language = "en"; -
That worked, thank you! :)@Padramyr The script call isn't working because it's looking for a variable named lang or en, which probably aren't defined. You should use quotes around the name.
So it would be:
Iavra.l18N.language = "en"; -
Hello!
Anyone can teel me, in the plugin parameters on the file path, i'm suppose to do this:
{en, pt-BR}.json
OR
en.json, pt-BR.json
OR
{en}.json, {pt-BR}.json
? -
A quick question.
Regarding the JSON, what should I do about a 6029 position error message at boot? -
I don't even know where to begin with this plugin....


-
@cedr777 paste the contents of your JSON into the window at this website. It apparently has a formatting error. The page should tell you what line in your file has the issue:
https://jsonlint.com/ -
@BreakerZero see my previous post. If the website for JSONLint gives you a line# in error, open the file in Notepad or whatever text editor you have for viewing straight text, and scroll to that line. Odds are you are missing a comma, or have one at the end of a set, that doesn't need to be there, or a missing end or beginning quote or brace or bracket.
The error at startup shown in @cedr777 's screen shot is common when there is a formatting error in the JSON, which is loaded at start and has to at least be correctly formatted to work. the braces and brackets have to be in pairs, the lists have to be separated by commas. Read through this thread for some of the more common formatting issues...