How to do an app with truly multilingual strings?

前端 未结 4 1949
渐次进展
渐次进展 2021-02-03 14:34

what should be the best approach to make strings for different languages? I have this problem, I am trying to display strings such as \'month\', \'months\', \'year\', \'years\'.

4条回答
  •  [愿得一人]
    2021-02-03 14:54

    Note that I don't have any android specific experience... but I usually opt for having separate view files for each language i'm going to support, this allows for broader localisation than language alone, you can now also have slightly altered layouts if you know text in some other language can require for example wider buttons, or even different images.

提交回复
热议问题