Hi penguin,

> On 03 Jul 2016, at 11:49, penguin <levtr...@gmail.com> wrote:
> 
> Hello,
> 
> My purpose is using unsupported language in XWiki for my XWiki interface
> language for Users of my site who use the unsupported language.
> 
> My first aim is Japanese language.

Contributing a Japanese translation on l10n.xwiki.org would be awesome! :)

> However, I am not sure that I can translate all of words for XWiki
> interface, so I firstly just want to try to translate some interfaces words
> which will be used for basic usage like editing and post an article and post
> a comment for it.

Yes that’s very easy to do. There are some instructions at 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications#HUsingpropertieslocatedinXWikipages

Basically you just need to put the translations in a page, set the proper 
xobject and use existing translation keys and you’re done!

Let us know how it goes!

Thanks
-Vincent

> I already installed XWiki enterprise 8.1 for tomcat8 and postgre sql by
> Debian package install to Ubunch16 vps server.
> 
> I read the page below and I tried the steps of “Translate and test an
> ApplicationResources file"
> http://l10n.xwiki.org/xwiki/bin/view/L10N/AddALanguage
> 
> I copied codes of ApplicationResources.properties in the link
> (https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties)
> and changed some words for testing translation works or not in that way.
> 
> For example,
> line 97 “preview=Preview” to “preview=aaaaaa"
> line 984 “core.viewers.comments.preview.button.preview=Preview“ to
> "core.viewers.comments.preview.button.preview=aaaaa”
> line 2363 “xe.userdirectory.customizePreviewTitle=Preview” to
> “xe.userdirectory.customizePreviewTitle=aaaaaaa”
> 
> After that, I stopped tomcat8.
> Then, I made file named “ApplicationResources_jp.properties” in 
> “/usr/lib/xwiki/WEB-INF/classes” directory.
> I started tomcat8 and accessed my xwiki site and changed SUPPORTED LANGUAGES
> to jp, DEFAULT LANGUAGE to jp and saved localization setting.
> 
> However, I could not see interface language is translated.
> 
> I see Preview buttons shows “Preview” letters, not “aaaa”.
> I would like to know what step I am doing wrong.
> 
> I am new to XWiki and web development, so I may be missing some steps.
> Thank you for your help in advance.
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/How-to-test-new-language-translation-for-XWiki-user-interface-tp7600215.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to