Common string values for localization

I need to implement localization by adding values-fr & values-ar. There are common strings that no need for users to be shown like (admob-banner-id), lvl, .....; My question is: shall I include those common strings in each values-xx? or it's enough to keep it in values folder for one time? Thx.

Upvotes: 0

Views: 62

Answers (1)

Thomas Mary
Thomas Mary

Reputation: 1579

In your values/strings.xml, in non translatable strings, add this : translatable="false". For example :

<string name="hello" translatable="false">Do not translate me</string>

Upvotes: 1

Related Questions