Hi,

AngeloG wrote:
> Hallo
> I made the translation in Italian of the same string.properties file and
> updated l10n.xwiki.org/.../Wysiwyg
> 

> I hope the file will be included in one of the next release.

Definitely. It will be included in 2.3M1 and 2.2.3 releases.

> I would like to update my xwiki but the link provided seems dead.

platform/web/wysiwyg module has been refactored on trunk (2.3). I 
suppose you're using a 2.2.x release, is that right? Then you have to 
checkout the editor sources from svn.xwiki.org (e.g. 
http://svn.xwiki.org/svnroot/xwiki/platform/web/tags/xwiki-web-2.2.2/wysiwyg/ 
for XE 2.2.2) and change 
src/main/resources/com/xpn/xwiki/wysiwyg/Wysiwyg.gwt.xml as indicated below.

> Is there any other way? (I don't want to break my installation)

Unfortunately, the only options are:
* wait for the next release
* build the editor yourself (I can give you all the details you need)

This limitation is due to the fact that translations are included in the 
generated JavaScript code when the editor is compiled. This is how GWT 
works.

Hope this helps,
Marius

> 
>> (3) Build the editor yourself. For this you have to follow this steps:
>>
>> i) Edit 
>> http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/wysiwyg/src/main/resources/com/xpn/xwiki/wysiwyg/Wysiwyg.gwt.xml
>>  
>> and change:
>>
>> <extend-property name="locale" values="fr,de"/>
>>
>> to
>>
>> <extend-property name="locale" values="fr,de,sk"/>
>>
>> If you don't need the French and the German translations then keep just 
>> yours, but note that the build time increases with the number of languages.
>>
>> ii) build the editor (mvn clean install)
>>
>> iii) update the editor in your XWiki Enterprise instance. Delete the 
>> resources/js/xwiki/wysiwyg/xwe directory from your XE instance and copy 
>> the same directory from the war generated by the build.
> 
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to