hello,
I have currently found how the language is transfered to the application, through the registry. How is this handled or is it even supported? thanks in advanced.
The key is located in "HKCU\Software\Arora-browser.org\Arora\LanguageManager" and the value is "en_US" by default
That's nothing to do with the Installer - it's a Launcher question. I've renamed the thread.
Take a look at Apps using PAL for examples of language switching and some registry stuff.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
I was unaware that the launcher actually changed the language and not the installer, I guess i got confused because of the installer asking which language you want. Thank You again for your time
I have been able to get the launcher to work partially with language using [RegistryValueWrite], but that requires the person to change the appnameportable.ini in order have the language that they desire. I have tried editing appnameportable.reg in the launcher but when it fails or starts up under the default "en_US" it is deleted by the program. I also tried sending %PAL:CustomLanguage% and a custom variable that mirrors %PAL:CustomLanguage%, but it doesn't sent the value I get a key that looks like this:
[HKEY_CURRENT_USER\Software\arora-browser.org\Arora\LanguageManager]
but it is supposed to look like this:
[HKEY_CURRENT_USER\Software\arora-browser.org\Arora\LanguageManager]
"Language"=%language%
is there a way that I can incorporate another file lets say language.ini, have [language] read it and correct it to the selected language on the and then have the contents of that file sent through the registry?
The easiest way tends to be to deal with the .reg file as an INI file.
I hope you meant %PAL:LanguageCustom%, not %PAL:CustomLanguage%?
It's supposed to look like "Language"="value". Key and value are both quoted.
Really, I need to see your code to be able to say what you've got wrong.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
I mean %PAL:LanguageCustom% and I do agree that sounds much easier than the code I was attempting to use this is what I used:
I see where my code would lead to problems and how your code will effectively help the configuration of the reg file
[LanguageFile]:Type=ConfigRead requires "Entry"; Section and Key are for Type=INI. The file is also written using HKEY_CURRENT_USER, not HKCU. If you just changed those two, it should work.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
thanks to your help I fixed the errors that I made and language is now up and running