Online Course Support

To create an application that proposes the user interface in multiple languages the best way is to…

Question 1
To create an application that proposes the user interface in multiple languages the best way is to…

1 point

to request a translation from the Google service for each String to be displayed at runtime.

to use InternationalString objects instead of String objects, example: new InternationalString(new Loc(“Hello”,Loc.EN), new Loc(“Bonjour”,Loc.FR));

copy the existing app and translate the copy. The user will install whichever version he prefers.

to indicate the key of the string to display instead of the value of this string and to define multiple resources files (one per language) where the appropriate, translated value is given for each key.

Similar Posts