This worked, you dont have to export another one you can just take the one right now and convert it, I converted it with notpad++ (CONVERT! not ENCODE) just for the people that might want to use it so they can understand it easier. Thank you very much!
Yeah, you'll need to save the file as UTF-8 or it won't recognize some Unicode characters.
I don´t understand the Description to 100% -- Where i have to save the Language-File? In your Description you only write:
"...Save this file under "i18n/{lang}.json", where {lang} is the language this file stands for." - But where exactly i have to save them? I have to save the File in the Plugin-Folder or where?
EDIT:
Okay, i have solve the Problem - At all other: You have to make a new Folder in the Main-Folder of your Game with the Title "i18n", in this Folder you make your Language Files "en-json" or "de.json"
I used the folder "i18n" for my example. You are free to use a different one, as long as you set the plugin parameter accordingly.
is it possible to call localization in other js scripts?
I updated the plugin.It now also replaces \:[...] inside drawText, so you can use the "text" category to localize other plugins. I hope the performance impact isn't too big :/
thanks for the fast answer.
i have tested it on yanfly's skilllearn plugin.
the function to show the text "Learned" is;
Window_SkillLearn.prototype.drawItemLearned = function(skill, wx, wy, ww) { if (!this._actor.isLearnedSkill(skill.id)) { this.drawSkillCost(skill, wx, wy, ww); return; } var text = Yanfly.Param.SLSLearnText; this.contents.fontSize = Yanfly.Param.SLSLearnSize; this.drawText('\:[learnskill]', wx, wy, ww, 'right'); this.resetFontSettings();};you see that i have changed this.drawText line but it doesnt work...
EDIT; im stupid... forgotten that it need to be \\: not \: .... fixed and working. ^^
Okay, I'm probably going to end up using this instead of Zalerinian's. If it can ALREADY be used within plugins, and his struggles to work with the default systems, this is a much better bet so far.
My questions are, what can't it do, and what issues does it have currently? Because Zalerinian's is in the Completed Plugins section while this one is in Development, however this one seems like it's a bit further ahead, even going as far as including an option menu code which is extremely nice.
Well, technically, it is complete (doesn't export Show Text contents, but import them just fine), but i don't like it in an ...aesthetic way (hard to describe 😛 ). I will remake it at some point, but it should work fine in its current form.
Oh. Rock on then x) if you do remake it, let me know!
Could you provide a demo, perhaps?