-
May 26th, 2022, 09:02 #1
- Join Date
- Mar 2009
- Location
- Lidingö, Sweden, Europe
- Posts
- 374
Preparing a rulset so that it can be translated
Which is the preferred method for designating strings so that they can be translated (or changed programmatically?
I've seen '<static textres="sssss" />' but also 'string_labeled' and then 'labelres'. Another alternative seems to be using 'defaultlabelres' . If you would build a new ruleset which one is recommended?
-
May 26th, 2022, 13:05 #2
All of them are valid in their specific use cases.
-
May 26th, 2022, 15:05 #3
You can pretty much use any control template you want. The key requirement to enabling a ruleset to be translated is that any text that is presented to the user is stored as a <string> resource in the ruleset XML - usually in the ruleset \strings directory.
Some references in the Developer portion of the FG Wiki that provide information on the <string> resource setting:
https://fantasygroundsunity.atlassia...Assets#Strings
https://fantasygroundsunity.atlassia...6645589/stringPrivate Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks