diff --git a/locales.md b/locales.md new file mode 100644 index 0000000000000000000000000000000000000000..ff45d2573e491dd7bdd9ecddcb0a896df3808876 --- /dev/null +++ b/locales.md @@ -0,0 +1,17 @@ +--- +title: Locales +layout: default +navigation_order: 4 +--- + +# Translation + +If you want to contribute to our language files, clone the [repository](https://github.com/ganggo/ganggo) and update/create the files in `messages/` directory. If you are satisfied with your changes create a [pull-request](https://help.github.com/articles/about-pull-requests/) on github! + +Please make sure that you apply to following naming convention: + + * Locale: a combination of language and region that indicates a user language preference, eg. `en-US`. + * Language: the language part of a locale, eg. en. Language identifiers are expected to be [ISO 639-1 codes](http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes). + * Region: the region part of a locale, eg. US. Region identifiers are expected to be [ISO 3166-1 alpha-2 codes](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). + +You'll find more information on the [revel documentation](https://revel.github.io/manual/i18n-messages.html) page.