5E Product Walkthrough Playlist
  1. #1

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    351

    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?

  2. #2

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,361
    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/string
    Private 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Starfinder Playlist

Log in

Log in