简体   繁体   English

从代码运行时,如何使用对.po文件所做的更改来更新ODOO

[英]How do I update ODOO with changes I made to .po file when running from code

I'm running ODOO from Eclipse (on Windows). 我正在从Eclipse(在Windows上)运行ODOO。

I changed a translation string (the module name) and now want to see it updated in odoo running from my (source code). 我更改了翻译字符串(模块名称),现在希望从我的(源代码)运行的odoo中看到它的更新。 I stopped and restarted the ODOO server in eclipse, and don't see the difference (it's still in English). 我以eclipse的方式停止并重新启动了ODOO服务器,但看不到区别(仍然是英语)。 Has the string been loaded somewhere to the database? 字符串是否已加载到数据库的某处?

What do I need to do, to see the updated change? 要查看更新后的更改,我需要做什么?

You have to either update the module, which holds the translation you've changed or just reload the whole translation for the language you've changed something for. 您必须更新包含更改过的翻译的模块,或者只是重新加载更改过的语言的整个翻译。

The last is handled under Settings/Translations. 最后一个在“设置/翻译”下处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 蚀没有检测到我在代码中所做的更改 - eclipse not detecting the changes i made in code 当我从 Eclipse 运行我的 MonkeyC 程序时,为什么我的代码更改没有编译或显示? - Why do my code changes not compile or show up when I run my MonkeyC program from Eclipse? wamy项目的R.java文件引起并出错,每当我对其进行修复时,eclipse都会删除我所做的更改 - wamy project's R.java file is causing and error and when ever i fix it eclipse removes the changes i made 在用Java程序创建文件之前,如何创建/修改文件的内容? - How do i create/modify the contents of a file before i create it in a Java program i have made? 如何查看在Eclipse中对Genymotion所做的更改? - How can I see changes in Genymotion made in Eclipse? 在Eclipse中看不到HTML文件中所做的更改 - Do not see changes made in HTML file in Eclipse 在 Ubuntu 中从 Eclipse 运行 C 代码时如何设置 CPU 关联性? - How do I set CPU affinity while running a C code from Eclipse in Ubuntu? 从 Eclipse 运行 Serenity 测试时,如何指定 Selenium Hub URL? - How do I specify the Selenium Hub URL when running Serenity tests from Eclipse? 如何从代码调用调试器? - How do I invoke the debugger from code? 如何使用Perforce的Eclipse插件在Eclipse编辑器中查看对程序文件的差异? - How do I view diffs made to a program file in the Eclipse editor using Perforce's plugin for Eclipse?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM