Transifex integration
transifex · odoo/odoo
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Description
Transifex integration
This module will add a link to the Transifex project in the translation view. The purpose of this module is to speed up translations of the main modules.
To work, Odoo uses Transifex configuration files .tx/config to detect the
project source. Custom modules will not be translated (as not published on
the main Transifex project).
The language the user tries to translate must be activated on the Transifex project.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
transifex_code_translation_tree_view |
transifex.code.translation.list | transifex.code.translation | list | New |
transifex_code_translation_view_search |
transifex.code.translation.view.search | transifex.code.translation | search | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
No new fields.
Public methods (1)-
get_field_translations(self, field_name, langs=None)Get model/model_term translations for records with transifex url :param str field_name: field name :param list langs: languages :return: a 2-items tuple ``(translations, context)`` where translations: list of dicts like:: [{ "lang": lang, "source": source_term, "value": value_term, "module": module, "transifexURL": transifex_url }] context: dict like:: {"translation_type": "text"/"char", "translation_show_source": True/False}
-
langSelectionselection='_get_languages'string='Language'validate=False -
moduleCharhelp='Module this term belongs to' -
sourceTextstring='Code' -
transifex_urlCharcompute='_compute_transifex_url'help='Propose a modification in the official version of Odoo' args: 'Transifex URL' -
valueTextstring='Translation Value'
-
reload(self)@api.model
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…