mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[12.0][ADD] base_default_lang_translate
This commit is contained in:
9
base_default_lang_translate/readme/CONFIGURE.rst
Normal file
9
base_default_lang_translate/readme/CONFIGURE.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
To configure this module, you need to:
|
||||
|
||||
#. Go to Settings > Translations > Languages
|
||||
#. Select the language you want to use as default (enter form view)
|
||||
#. Edit, tick "By default", Save
|
||||
|
||||
Note: only one language can be set as default.
|
||||
Should you want to change your default language, you would have to first untick previous one.
|
||||
2
base_default_lang_translate/readme/CONTRIBUTORS.rst
Normal file
2
base_default_lang_translate/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,2 @@
|
||||
* Rémi - Le Filament (https://le-filament.com)
|
||||
* Mariano Ruiz <https://launchpad.net/~marianoruiz>
|
||||
7
base_default_lang_translate/readme/DESCRIPTION.rst
Normal file
7
base_default_lang_translate/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
This modules allows to select a default language which is used for source terms in translations.
|
||||
Any update done with this default_language will be taken as source in translations
|
||||
and written in object directly.
|
||||
Also when updating a translatable term, all existing translations (but default language) will be set to to_translate
|
||||
|
||||
This module is useless in case your main language is en_US or in case you have only 1 language installed
|
||||
(in thoses cases, Odoo performs correctly).
|
||||
4
base_default_lang_translate/readme/USAGE.rst
Normal file
4
base_default_lang_translate/readme/USAGE.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
To use this module, you need to:
|
||||
|
||||
#. Go to any model with translatable fields (e.g. product, survey, etc.)
|
||||
#. Update a translatable field and Save, source term and object field in database will be set with your new value
|
||||
Reference in New Issue
Block a user