Closed frangeveris closed 3 years ago
You have to use locale with string as suffix of translation resource: https://github.com/mick1418/prettytime/tree/aa34e7df6daa97a057133a4dc190b1e2ddf76d42/core/src/main/java/org/ocpsoft/prettytime/i18n For example for Russian Locale("ru") because resource file name is Resources_ru.java
Issue cleanup Thanks for filing this issue. We are cleaning old issues from the repository. If the issue is still reproducible, please re-open with a test case to reproduce the behavior.
Hi. I'm using PrettyTime in an app that is catered to several countries. In each, they get to choose which language (think Canada where you can choose French/English, for example) they want the app in. Thing is, if the chosen language is A and the device default locale is B, PrettyTime always goes for B.
I've tried the following:
but it's useless, with my device in English and the app in Russian/French/you name it I always get the "X time ago" in English instead of the chosen language.