From 638abad22a0061a959fd965bc9926e567189a023 Mon Sep 17 00:00:00 2001 From: Milos Stojanovic Date: Thu, 27 Jun 2019 12:30:30 +0200 Subject: [PATCH] lang docs updated --- docs/translations/default.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/translations/default.md b/docs/translations/default.md index 73f3bb1..23d8957 100644 --- a/docs/translations/default.md +++ b/docs/translations/default.md @@ -4,8 +4,19 @@ currentMenu: default ## Translations -Default language file is located under `frontend/translations/english.js` You can add more languages in the same folder and adjust `language` variable in your `configuration.php` file to use it. +Language is configured by adjusting `language` variable in your `configuration.php` file. +Available languages: + +- english (default) +- spanish + +Please help us translating FileGator to your language by submitting a Pull Request on GitHub. + + +## How to translate + +Default language file is located under `frontend/translations/english.js` You can add more languages in the same folder. Once your language file is in place, it needs to be added to `frontend/mixins/shared.js` and then you can use it by adjusting `language` variable in your `configuration.php` file. You should only translate value on the right, for example: @@ -13,7 +24,7 @@ You should only translate value on the right, for example: 'Close': 'Schliessen', ``` -Default language file is: +Default language file: ``` const data = {