Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.47 KB

TRANSLATIONS.md

File metadata and controls

16 lines (12 loc) · 1.47 KB

How to translate ReCalendar to your language

If you're not a developer

For developers

  • Copy the en folder from https://github.com/klimeryk/recalendar.js/tree/master/src/locales/ and rename it to the appropriate locale. It has to match the locale that day.js supports. The list is available here.
  • Translate the strings in each *.json file, as described in the above section.
  • Add your language to the English app.json file, language section. Add it as you'd write it in your language. See the existing examples there. So, for the Polish language I'd put Polski, not Polish. This follows best practices for language selectors.
  • You should now be able to see the language in your local, development version.
  • Check the console for any warnings or errors if the language is not visible or not working.