[
https://issues.apache.org/jira/browse/OFBIZ-4051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
dukian updated OFBIZ-4051:
--------------------------
Attachment: elret-zh_TW-modified-result.jpg
OFBIZ-4051_zh_TW.patch
Thanks for Jacques highlights Chinese issue.
After checks two cases: datepicker is fine, but el-rte not.
There are many different i18n file naming approaches for Traditional Chinese
... OFBiz uses java way: zh_TW, datepicker uses zh-TW, and el-rte needs patch
as attachment(OFBIZ-4051_zh_TW.patch).
According to elrte.(min|full).js, the full version is Line 1108:
{quote}
this.lang = (''+this.options.lang).toLowerCase();
this._i18n = new eli18n({textdomain : 'rte', messages : { rte :
this.i18Messages[this.lang] || {}} });
{quote}
el-rte needs lower case "TWO_LETTER_LANG_CODE" in translation file.
I'll file this issue to el-rte project too.
> i18n for elrte editor
> ---------------------
>
> Key: OFBIZ-4051
> URL: https://issues.apache.org/jira/browse/OFBIZ-4051
> Project: OFBiz
> Issue Type: Sub-task
> Components: ALL COMPONENTS
> Affects Versions: jQuery
> Reporter: Erwan de FERRIERES
> Assignee: Erwan de FERRIERES
> Priority: Minor
> Fix For: jQuery
>
> Attachments: elret-zh_TW-modified-result.jpg, elrte_i18n.patch,
> elrte_i18n.zip, OFBIZ-4051_zh_TW.patch
>
>
> elrte editor has its i18n files included in the archive
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.