mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add (brief) documentation page regarding translations
This commit is contained in:
parent
40acf90efe
commit
9be528a3fb
@ -228,7 +228,7 @@ if not type(EXTRA_URL_SCHEMES) in [list]:
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = CONFIG.get('language', 'de-ge')
|
||||
LANGUAGE_CODE = CONFIG.get('language', 'en-us')
|
||||
|
||||
# If a new language translation is supported, it must be added here
|
||||
LANGUAGES = [
|
||||
|
@ -18,7 +18,7 @@ database:
|
||||
#HOST: ''
|
||||
#PORT: ''
|
||||
|
||||
# Select default system language (default is 'en_us')
|
||||
# Select default system language (default is 'en-us')
|
||||
language: en-us
|
||||
|
||||
# Set debug to False to run in production mode
|
||||
|
@ -12,6 +12,7 @@ InvenTree Source Documentation
|
||||
Deployment<deploy>
|
||||
Migrate Data<migrate>
|
||||
Update InvenTree<update>
|
||||
Translations<translate>
|
||||
Backup and Restore<backup>
|
||||
Modal Forms<forms>
|
||||
Tables<tables>
|
||||
|
14
docs/translate.rst
Normal file
14
docs/translate.rst
Normal file
@ -0,0 +1,14 @@
|
||||
Translations
|
||||
============
|
||||
|
||||
.. toctree::
|
||||
:titlesonly:
|
||||
:maxdepth: 2
|
||||
:caption: Language Translation
|
||||
:hidden:
|
||||
|
||||
InvenTree supports multi-language translation using the `Django Translation Framework <https://docs.djangoproject.com/en/2.2/topics/i18n/translation/>`_
|
||||
|
||||
Translation strings are located in the `InvenTree/locales/` directory, and translation files can be easily added here.
|
||||
|
||||
To set the default language, change the `langauge` setting in the `config.yaml` settings file.
|
Loading…
Reference in New Issue
Block a user