This repository contains the translation files for tabletopfinder.eu.
Consider adding your own language to the repository to browse the website in your own language and help us to expand the website.
The src
folder contains all translations, separated by language. The name of the folder is the ISO 639-1 language code.
Each folder contains a number of php
files that return an array with key-value pairs. The key is the same for each language, the value is the translated string.
For example:
<?php
// src/nl/common.php
return [
'key' => 'value'
'one' => 'een',
'two' => 'twee'
];
The English language is the template for other languages, new keys are added to these files first.
-
Translations should not contain html
The translation string should not contain any html tags. If formatting is needed for a specific string, markdown can be used. This is also the reason why some strings are glued to the left of the editor. -
Use php 5.4 short array syntax
We prefer to keep the files from being cluttered with unneeded strings, so please use the php5.4 short array syntax.
This is the current list of languages we are hoping to support:
We are very grateful for anyone who wants to help us to translate the website, so as a token of appreciation we will list contributors here and/or on the website if you want. Feel free to mention this in your pull-request.