[xwiki-devs] How to import an i18n translation file?
Hi, everybody. I'm doing some translations in l10n.xwiki.org. I found there is a link "Get as application resource". Its contents are: ## XWiki Translation for language zh #Mon Nov 09 13:55:45 CET 2009 Blog.BlogClass_blogType=\u535A\u5BA2\u7C7B\u578B Blog.BlogClass_blogType_global=\u5168\u5C40\u535A\u5BA2\uFF08Wiki\u7684\u603B\u8BC4\u8BBA\uFF09 Blog.BlogClass_blogType_local=\u7A7A\u95F4\u535A\u5BA2\uFF08\u4EC5\u7A7A\u95F4\u8BC4\u8BBA\uFF09 Blog.BlogClass_description=\u63CF\u8FF0 Blog.BlogClass_displayType=\u7D22\u5F15\u663E\u793A Blog.BlogClass_itemsPerPage=\u6BCF\u9875\u6587\u7AE0\u6570\uFF08\u53EA\u5728\u5206\u9875\u663E\u793A\u6A21\u5F0F\u4E2D\u6709\u6548\uFF09 Blog.BlogClass_title=\u535A\u5BA2\u6807\u9898 I guess there is a way to import my translation back into my wiki, isn't there? Or would I have to wait for the next release for my translation to be applied? -- ZhaolinFeng -- -- Currahee! We stand alone together!
Hi ZhaolinFeng, On Mon, Nov 9, 2009 at 1:58 PM, Zhaolin Feng <kingsimba0511@gmail.com>wrote:
Hi, everybody.
I'm doing some translations in l10n.xwiki.org. I found there is a link "Get as application resource".
Its contents are:
## XWiki Translation for language zh #Mon Nov 09 13:55:45 CET 2009 Blog.BlogClass_blogType=\u535A\u5BA2\u7C7B\u578B
Blog.BlogClass_blogType_global=\u5168\u5C40\u535A\u5BA2\uFF08Wiki\u7684\u603B\u8BC4\u8BBA\uFF09
Blog.BlogClass_blogType_local=\u7A7A\u95F4\u535A\u5BA2\uFF08\u4EC5\u7A7A\u95F4\u8BC4\u8BBA\uFF09 Blog.BlogClass_description=\u63CF\u8FF0 Blog.BlogClass_displayType=\u7D22\u5F15\u663E\u793A
Blog.BlogClass_itemsPerPage=\u6BCF\u9875\u6587\u7AE0\u6570\uFF08\u53EA\u5728\u5206\u9875\u663E\u793A\u6A21\u5F0F\u4E2D\u6709\u6548\uFF09 Blog.BlogClass_title=\u535A\u5BA2\u6807\u9898
I guess there is a way to import my translation back into my wiki, isn't there? Or would I have to wait for the next release for my translation to be applied?
You can apply it yourself on your own wiki but I'm not completely sure how. I think you need to put it in xwiki-core/src/main/resources/ApplicationResources_zh.properties and then build the wiki. Guillaume
-- ZhaolinFeng
-- -- Currahee! We stand alone together! _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
On Nov 9, 2009, at 2:47 PM, Guillaume Lerouge wrote:
Hi ZhaolinFeng,
On Mon, Nov 9, 2009 at 1:58 PM, Zhaolin Feng <kingsimba0511@gmail.com>wrote:
Hi, everybody.
I'm doing some translations in l10n.xwiki.org. I found there is a link "Get as application resource".
Its contents are:
## XWiki Translation for language zh #Mon Nov 09 13:55:45 CET 2009 Blog.BlogClass_blogType=\u535A\u5BA2\u7C7B\u578B
Blog.BlogClass_blogType_global=\u5168\u5C40\u535A\u5BA2\uFF08Wiki \u7684\u603B\u8BC4\u8BBA\uFF09
Blog.BlogClass_blogType_local=\u7A7A\u95F4\u535A \u5BA2\uFF08\u4EC5\u7A7A\u95F4\u8BC4\u8BBA\uFF09 Blog.BlogClass_description=\u63CF\u8FF0 Blog.BlogClass_displayType=\u7D22\u5F15\u663E\u793A
Blog.BlogClass_itemsPerPage=\u6BCF \u9875\u6587\u7AE0\u6570\uFF08\u53EA\u5728\u5206\u9875\u663E\u793A \u6A21\u5F0F\u4E2D\u6709\u6548\uFF09 Blog.BlogClass_title=\u535A\u5BA2\u6807\u9898
I guess there is a way to import my translation back into my wiki, isn't there? Or would I have to wait for the next release for my translation to be applied?
You can apply it yourself on your own wiki but I'm not completely sure how.
I think you need to put it in xwiki-core/src/main/resources/ApplicationResources_zh.properties and then build the wiki.
You just need to drop the properties file in WEB-INF/classes -Vincent
Guillaume
-- ZhaolinFeng
-- -- Currahee! We stand alone together!
participants (3)
-
Guillaume Lerouge -
Vincent Massol -
Zhaolin Feng