mtotschnig / MyExpenses

GPL licenced Android Expense Tracking App
http://www.myexpenses.mobi/
GNU General Public License v3.0
839 stars 222 forks source link

Categories' names after language change are not translated. #1116

Open ppurs opened 1 year ago

ppurs commented 1 year ago

While testing the German version of the application, I noticed that when user change language of the application from default to another, default categories' names don't change. Example: language changed from Polish (and default) to German.

326269840_672890004585060_1018914128543857198_n (1)

mtotschnig commented 1 year ago

This is a known limitation, because categories are currently stored with labels once imported, without any link to a locale-independent identifier. Originally the idea was also that every language could have its own category hierarchy, relevant for the cultural context. In practice, we use the same tree for most languages, so it would be possible to preserve the link of the default categories to this tree, and then adapt the translations if the locale changes.