Multi language content translation for odoo
Currently, a multilingual content translation application module is built based on the Baidu API interface;
This module consists of three main parts: translation function, API interface function, and language control group
Translation function: mainly obtains field content for specified text language translation;
API interface function: Provides Baidu online interface, users only need to open the translation API interface on the official website of Baidu Translation Platform, obtain the APP ID and key to use the interface function;
Language control group: Due to the differences between the language codes provided by Odoo and the online API interface, as well as the language codes of various platform interfaces, the corresponding relationship between Odoo language environment codes and API interface language environment codes is provided to achieve more accurate translation;
1. Added Youdao Cloud API translation interface, supporting platform interface switching and usage
2. Modify the API interface to return data styles, optimize the judgment of returned translation data, and add a pop-up function for abnormal translation data
3. Added iFlytek text translation interface,
Add user operation prompts,
Optimize translation error prompts,
4. Optimize the default sorting of the language control group
5. Add default search filter view
6. Add a new Xiaoniu Text Translation API interface
7. Add Tencent Cloud Text Translation API interface
8. Add volcano text translation
9. Add Alibaba Cloud Text Translation
10. Add iFlytek's Niutrans interface as the default machine translation interface
11. New feature: Multi-field selection translation, allowing multiple translatable fields to be selected for data translation
12. Add a prompt for the completion of new function translation and display the translation time
Translation of multilingual content
6