View Single Post
Old 07-26-2019, 07:11 AM   #507
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Thanks


BTW: Do you guys have a way to encode into the translationfile, which language is used?
I'm looking for something like a key-value-store, which holds a code, like the Alpha-2-codes in the following list:
https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes

Background: I'm working on functions, who allow localizing scripts using external translationfiles. One awesome thing would be, if I could automatically switch between different languages, depending on the language the currently loaded translationfile holds.

Otherwise, one would need to switch languages twice, once for Reaper and once for scripts and I would love to avoid that.


Oh, and do you have a way to find new texts added to Reaper or do you have to wait, until the devs release an updated lagpack-file?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote