- Joined
- May 8, 2012
- Messages
- 129
- Reaction score
- 56
- First Language
- Portuguese
- Primarily Uses
- RMMV
Hello everyone,
I think this questions was already asked for someone. Well, I'm guessing. I tried searching for it, but I couldn't find anything.
I don't know how to determine which language the final user of my plugins is using its RPG Maker MV. I want to know that so I can display some error messages in the proper language.
So I can do this...
...in my go'old portuguese and in english as well.
I already know that I can use different headers for each language.
(Well, I wrote about it in my e-magazine: )
But nothing specifically comes here to determine which language is being used other than doing an overly complicated arrange of plugin parameters to try to guess.
I'm still trying to search a simpler answer in the base code, but no luck yet.
Any advices? Thanks for your time.
I think this questions was already asked for someone. Well, I'm guessing. I tried searching for it, but I couldn't find anything.
I don't know how to determine which language the final user of my plugins is using its RPG Maker MV. I want to know that so I can display some error messages in the proper language.
So I can do this...
Code:
throw new Error("Erro: O índice do herói escolhido não está configurado.");
I already know that I can use different headers for each language.
(Well, I wrote about it in my e-magazine: )
But nothing specifically comes here to determine which language is being used other than doing an overly complicated arrange of plugin parameters to try to guess.
I'm still trying to search a simpler answer in the base code, but no luck yet.
Any advices? Thanks for your time.
