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.
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.
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/xwi…)
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-…
Sent from the XWiki- Users mailing list archive at
Nabble.com.