Skip to main content
ferro
Lead
Mar 13, 2023 10:13 AM UTC
Solved

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

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

This topic has been closed for replies.
Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
Mar 14, 2023 1:49 PM UTC

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

ST Software Developer | TouchGFX

2 replies

Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
Mar 14, 2023 1:49 PM UTC

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

ST Software Developer | TouchGFX
ferro
ferroAuthor
Lead
Mar 14, 2023 2:36 PM UTC

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