Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

headsetapp/headset-locales

Repository files navigation

DEPRECATED: This repo is no longer maintained

No Maintenance Intended

This project is no longer maintained, pull requests are no longer being reviewed or merged, and issues are no longer being responded to.


Headset Locales

Headset-locales is the official repository for Headset locale files. These files are used to localize the core and wrapper parts of Headset. English and Spanish are the two officially supported languages for Headset, all other languages are maintain by the community.

Have a question? Join our Slack workspace: https://tinyurl.com/y7m8y5x4

The following is the status of the current locale files:

Locale code Locale Progress
en English complete
es Spanish complete
de German complete

Contributing

  1. Fork the repo

  2. Run npm run fix *LOCALE_CODE* 1

    Notice that you need to add a locale code by replacing *LOCALE_CODE* with your own. You can pass multiple locales separated by a space, i.e. fr es-MX po.

    All required files will be created under locales/core and locales/wrapper, with all keys filled with a __NOT_TRANSLATED__ default value.

  3. Translate as many keys as possible. 2

  4. Run npm run ready

  5. Submit a PR!

[1]: We use a two-letter code to represent the locale, following ISO639-1 rules. If you want to add a locale specific to a country, as in US English (en-US) or Mexican Spanish (es-MX), use the two-letter language code follow by a hyphen, follow by the country's two-letter code capitalized. The two-letter country code follows ISO 3166-1 alpha-2 rules.

[2] Don't worry if you can't do them all, the ones not translated will use English as backup. The ready script will remove all the __NOT_TRANSLATED__ values that you couldn't do.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •