Pioneer has never supported control codes like that (and I just tested to be really sure). Your screenshot shows that too. Use of JSON and/or Transifex for translations doesn't change this.
Json (and Pioneer) does support control characters, in fact is working well and does exactly what I expected to do, as you can see on the screenshot of the medium.
The only problem here is that Transifex, modifies the original.
But do not get problems, if Transifex does not work, i can fix this with a mod.
walterar wrote:Json (and Pioneer) does support control characters, in fact is working well and does exactly what I expected to do, as you can see on the screenshot of the medium.
Pioneer has never interpreted control codes in its text rendering. It looks like all you're trying to do is to make sure there's no space character between the %population and 000. You don't need to use control codes to do that, just use "%{population}000".
"FLAVOUR_0_NONMEMBER_INTRO" : {
"description" : "",
"message" : "{clubname} is an independent organisation dedicated to providing discounted starship fuel to its members. Branches can be found throughout the galaxy. Benefits of membership include:\n\n\t* Our own stocks of fuel, independent of the general market\n\t* {hydrogen} at discount prices\n\t* {military_fuel} at discount prices\n\t* {water} at discount prices\n\t* {radioactives}, free disposal (conditions apply)\n\t* Fuel tank refilling, where necessary\n\nJoin now! Annual membership costs only {membership_fee}"
},
walterar wrote:Control characters are widely used in Pioneer
I'm sorry, I should have been more specific. Only the line-feed character ('\n', U+000A) and the NUL ('\0' U+0000) character are interpreted (NUL indicates the end of the string). All other control characters are ignored. You can verify this easily by inserting control characters into a label in the UI. For example, the 'Pioneer' label on the main menu, which is set directly in data/ui/MainMenu.lua (not from a translation file). Change it to "Pio\tn\beer" and see that the control characters have no effect.