View Single Post
Old 07-26-2019, 07:11 AM   #511
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,472
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?
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote