Hey All
I have been looking around here for some kind of Modul/Lib for translation of an activity.
So I made this Modul to ease the pain.
This Modul translate your hole activity with everything in it.
This is how it works:
From the Designer you add a "key" to the TAG-field.
Create a TXT-file and put it in your project->FILES
Since this TXT-file is used as a MAP you can add the "key" = "Translation" as below:
!Uk-translation
bja = Confirm
bnej = Decline
lvelkommen = Welcome
Then its just 2 calls:
Translate.Init_File("language.dk")
Translate.ThisActivity(Activity)
And your up and running
Any suggestions is welcome
Ofc use the AHlocale to know what region/language to use.
I have been looking around here for some kind of Modul/Lib for translation of an activity.
So I made this Modul to ease the pain.
This Modul translate your hole activity with everything in it.
This is how it works:
From the Designer you add a "key" to the TAG-field.
Create a TXT-file and put it in your project->FILES
Since this TXT-file is used as a MAP you can add the "key" = "Translation" as below:
!Uk-translation
bja = Confirm
bnej = Decline
lvelkommen = Welcome
Then its just 2 calls:
Translate.Init_File("language.dk")
Translate.ThisActivity(Activity)
And your up and running
Any suggestions is welcome
Ofc use the AHlocale to know what region/language to use.