polls icon indicating copy to clipboard operation
polls copied to clipboard

Translations get mixed up (Language: English, Locale: Switzerland)

Open FloMiLe opened this issue 4 years ago • 5 comments

What is going wrong? What did you observe?

In date and time strings, German and English words get mixed.

I guess that this is due to my settings, which are Language: English and Locale: Switzerland.

Examples: Screen Shot 2021-08-09 at 11 35 47 Screen Shot 2021-08-09 at 11 36 00

FloMiLe avatar Aug 09 '21 09:08 FloMiLe

That comes from the moment.js implementation, which uses the locale setting while the translations use the language setting. This will be solved when moving from moment.js to date-fns and/or Intl.

dartcafe avatar Aug 13 '21 19:08 dartcafe

After NC update from 20 to 21 and switching polls from 2.06 to 3.1 I realized, that all text modules which contains quotation marks are not translated to German. For example 'Allow "Maybe" vote' . Could this be a conflict with the syntax that is used in the l10n translation files?

spreeni151 avatar Aug 24 '21 16:08 spreeni151

I have to look after that. Maybe, you could add a new issue for that?

dartcafe avatar Aug 24 '21 16:08 dartcafe

o.k. I'll do, thank you.

spreeni151 avatar Aug 24 '21 17:08 spreeni151

Note: Possibly switch to date-fns and away from moment.js

dartcafe avatar Sep 21 '21 21:09 dartcafe