covid19 icon indicating copy to clipboard operation
covid19 copied to clipboard

Russian translation.

Open mishailovic opened this issue 4 years ago • 4 comments

Hi I would like to translate your site into Russian language, what should I do to do this?

mishailovic avatar Mar 30 '20 09:03 mishailovic

I am also trying to improve my coding skills, I am trying to translate this masterpiece to Arabic.

AbdelrhmanAmin avatar Mar 31 '20 15:03 AbdelrhmanAmin

Hi, thank you for your interest! The translations for the interface can be added to this file. For the places, currently there are only Chinese translations in this file, but other languages can also be added. I only planned for two languages, so if more languages need to be supported, there will probably be some other changes need to be made. I'll investigate if necessary.

stevenliuyi avatar Apr 01 '20 15:04 stevenliuyi

Hi,

I was currently working on branch: https://github.com/YachayData/mapacovid.cl/tree/languages

to add Spanish and French languages. So far:

  • Added traduction as sp and fr to: src/data/i18n.yml
  • Added data/map-translations in en2es and en2fr
  • Made various minor changes to consider any couple of languages, and adapt format for dates

Still, a lot of work is missing to adapt both table and map adequately. I was thinking in consider Spanish and French as sort of sub-lang inheriting from English (to let most of data in English style).

Any recommendation? Best wishes.

pescap avatar Apr 12 '20 18:04 pescap

Perhaps we could treat English as the default fallback language? When some translations are missing for a language, we just use the English translations instead.

stevenliuyi avatar Apr 12 '20 21:04 stevenliuyi