a 
Thanks sfermigier,
but this FAQ entry seems to be only solution for small part of localization.
I would like to translate all site not only a few labels.

>From 
>http://hg.nuxeo.org/nuxeo/nuxeo-features/file/ca96636593f8/nuxeo-platform-lang/src/main/resources/nuxeo.war/WEB-INF/classes/messages.properties
I downloaded messages.properties and renamed it to messages_sr.properties and 
translate about 50%

After that I downloaded nuxeo-platform-lang-ext:
hg clone http://hg.nuxeo.org/addons/nuxeo-platform-lang-ext

Then I copied messages_sr.properties to 
nuxeo-platform-lang-ext\src\main\resources\nuxeo.war\WEB-INF\classes

After that I added entry to deployment-fragment.xml Here is tne extension tag 
snippet:

  <extension target="faces-config#APPLICATION">
    <locale-config>
      <supported-locale>ar</supported-locale>
      <supported-locale>ca</supported-locale>
      <supported-locale>cn</supported-locale>
      <supported-locale>de</supported-locale>
      <supported-locale>es</supported-locale>
      <supported-locale>eu</supported-locale>
      <supported-locale>it</supported-locale>
      <supported-locale>ja</supported-locale>
      <supported-locale>pt</supported-locale>
      <supported-locale>pt_BR</supported-locale>
      <supported-locale>ru</supported-locale>
      <supported-locale>sr</supported-locale>
      <supported-locale>vn</supported-locale>
    </locale-config>
  </extension>

after that:
mvn clean install
and copy recently created jar to nuxeo.ear/system/
and restart nuxeo server. After I logged in I saw this:

 [http://i48.tinypic.com/ws4ojm.png] 


Look for example at the top of the page:
label.loggedAsUser | command.user_dashboard | Licni radni prostor | 
command.manageMembers | title.vocabularies |

I tried to search in messages.properties those 5 entries and only 1 apparently 
exists:

label.loggedAsUser – not exists in messages.properties
command.user_dashboard – not exists in messages.properties
Licni radni prostor – exists and succesfuly translated
command.manageMembers  – not exists in messages.properties 
title.vocabularies  – not exists in messages.properties

Is there any wiki / tutorial explaining in detail process of localization / 
translation?
--
Posted by "gandra404" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3295#9904>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to