Thread Tools Display Modes
Prev Previous Post   Next Post Next
08/23/18, 08:21 AM   #1
Gandalf
 
Gandalf's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2016
Posts: 28
Exclamation zo_strformat - lost in translation

Heya,

Run into a strange behavior of zo_strformat:

When using:
Code:
/script SetCVar("language.2", "en") or /script SetCVar("language.2", "de")
/script d( zo_strformat("<<1>>","Show me your Face") )
It returns:
Code:
"Show me your Face"
When using:
Code:
/script SetCVar("language.2", "fr")
/script d( zo_strformat("<<1>>","Show me your Face") )
It returns:
Code:
"Show m’your Face"!
Any idea why I get in "French" mode such a highly sophisticated output?

Using good old string.format causes no issues.

Cheers,
Gandalf
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » zo_strformat - lost in translation

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off