Source code of https://csgo-demos-manager.com, the website of the application CSGO Demos Manager.
If you would like to start a new translation, submit a PR adding a new language code ans its native name in the LOCALES
variable in locales.ts
.
Languages code are available here
For example adding Español language (es
language code):
en: 'English', // Already defined
es: 'Español', // <- New language, replace it with your language code and native name
Most of translations are in markdown files, the rest are in JSON files.
Markdown files are in this markdown folder and JSON files in the translations folder.
Each markdown filenames are suffixed by the language code, for example export.fr.md
is the French translation.
You have to edit the files corresponding to your language and if it doesn't exist, you have to create it using the .en.md
file as reference.
JSON filenames correpond to the language code, for example fr.json
is fo the French translation.
You have to edit the file corresponding to your language and if it doesn't exist, you have to create it using the en.json
file as reference.
yarn
yarn dev