equal
deleted
inserted
replaced
105 |
105 |
106 $ python myapp/bin/laxctl i18nupdate |
106 $ python myapp/bin/laxctl i18nupdate |
107 $ python myapp/bin/laxctl i18ncompile |
107 $ python myapp/bin/laxctl i18ncompile |
108 |
108 |
109 Ignore the errors that print "No translation file found for domain |
109 Ignore the errors that print "No translation file found for domain |
110 'erudi'". They disappear after the first run of i18ncompile. |
110 'cubicweb'". They disappear after the first run of i18ncompile. |
111 |
111 |
112 .. note:: The command myapp/bin/laxctl i18nupdate needs to be executed |
112 .. note:: The command myapp/bin/laxctl i18nupdate needs to be executed |
113 only if your application is using cubes from ginco-apps. |
113 only if your application is using cubes from cubicweb-apps. |
114 Otherwise, please skip it. |
114 Otherwise, please skip it. |
115 |
115 |
116 You will never need to add new entries in the translation catalog. Instead we would |
116 You will never need to add new entries in the translation catalog. Instead we would |
117 recommand you to use ``self.req._("msgId")`` in your application code |
117 recommand you to use ``self.req._("msgId")`` in your application code |
118 to flag new message id to add to the catalog, where ``_`` refers to |
118 to flag new message id to add to the catalog, where ``_`` refers to |