cancel
Showing results for 
Search instead for 
Did you mean: 

TextArea - how to ignore translating its text upon language change ?

ferro
Senior II

Hi,

Is there a possibility for TextArea to ignore translating its text upon language change ?

I thought I could achieve that by using a wild card and setting raw string (ie TextArea::setWildcard1 (UnicodeChar* value)) but it did not work as I hoped.

As I understand it, after calling Texts::setLanguage (), GFX translates all texts/strings assigned to TextArea(s) to font assigned to new language.

I miss something like TextArea::setIgnoreLanguageChange ( bool ignore ).

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Osman SOYKURT
ST Employee

Hello ferro,

Indeed, changing the language of you application will affect all your text areas, as described in the tutorial 6.

0693W00000aIvsyQAC.pngBut thanks for the suggestion, I can discuss it with the team.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

View solution in original post

2 REPLIES 2
Osman SOYKURT
ST Employee

Hello ferro,

Indeed, changing the language of you application will affect all your text areas, as described in the tutorial 6.

0693W00000aIvsyQAC.pngBut thanks for the suggestion, I can discuss it with the team.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

Hi @Osman SOYKURT​ ,

I did the tutorial few weeks ago but missed/forgot about the Note. Thanks for confirmation and link.

"But thanks for the suggestion, I can discuss it with the team."

Great. Thanks.

Ferro