Using "tv_version", something like this can be done to translate a text:
Code: Select all
tv_version
PARSE RESULT software_name software_version language
//tv_warn language
IF CMP(language, fr)
my_translated_string = "Bonjour"
END
IF CMP(language, en)
my_translated_string = "Hello"
END
IF CMP(language, ja)
my_translated_string = "こんにちは"
END
IF CMP(language, zh)
my_translated_string = "你好"
END
PRINT my_translated_string
- date format (22/10/2024 OR 10/22/2024 etc )
- number (1.000 OR 1,000 etc)
Code: Select all
uk_time_format = I18N(DATE, 'en-GB')
usa_time_format = I18N(DATE, 'en-US')
japan_time_format = I18N(DATE, 'ja-JP')
china_time_format = I18N(DATE, 'zh-CN')