I understand the conception about how to translate simple text/buttons etc, but I am completely lost in how to add this to headers.
Who can suggest something?
here we have just a name, but it should key and somehow we need to apply AppText
here we draw it, but App Text required have specific key, but can’t use header title as parameter here
You have the word “events” already saved in your DB. If this word changes and you need to have it in your DB, so in your case, you might want to add another field for example called “Link_fr” and then in this field save the value of the word event in the 2nd language “evenements” for example if using French.
Then based on the current user’s language code, choose to display the value from the corresponding field either “Link” or “Link_fr”.
If you needn’t save the word “event” in the DB and it’s constant, so in this case, you can use AppText. You will create an entry called “Link” for example then in your display in the screen you will set the value to “AppText (Link)” and then it will show the correct value accordingly.
Hope this helps !
Thanks. But this is my backup plan, because it sounds like un practical solution.