[xwiki-users] Adding a new language
Hi I want to add a new language to my XWiki application. I changed Multi Lingual in the 'General' section og Xwiki Preferences to 'Yes' and added that language in the 'Languages' text box. Also I created an ApplicationResources.properties for the language and added it to the XWiki-1.5.jar. Is there any other classes which needs to be modified ? If yes how that can be done ? In general would it be fare to pull out a class from a jar file, modify it and put it back ? Please help.. I am using XE 1.5 Regards Syam -- View this message in context: http://n2.nabble.com/Adding-a-new-language-tp1109189p1109189.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Syam, On Mon, Sep 22, 2008 at 11:54 AM, syam_kg <[email protected]> wrote:
Hi I want to add a new language to my XWiki application. I changed Multi Lingual in the 'General' section og Xwiki Preferences to 'Yes' and added that language in the 'Languages' text box. Also I created an ApplicationResources.properties for the language and added it to the XWiki-1.5.jar. Is there any other classes which needs to be modified ? If
No, you don't need to modify any class for your new language to be taken into account.
yes how that can be done ? In general would it be fare to pull out a class from a jar file, modify it and put it back ? Please help.. I am using XE 1.5
You don't even need to put it back in the jar, simply put it in "WEB-INF/classes" and it will overwrite or be added to what is in jar files.
Regards Syam -- View this message in context: http://n2.nabble.com/Adding-a-new-language-tp1109189p1109189.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thomas Mortagne wrote:
Hi Syam,
On Mon, Sep 22, 2008 at 11:54 AM, syam_kg <[email protected]> wrote:
Hi I want to add a new language to my XWiki application. I changed Multi Lingual in the 'General' section og Xwiki Preferences to 'Yes' and added that language in the 'Languages' text box. Also I created an ApplicationResources.properties for the language and added it to the XWiki-1.5.jar. Is there any other classes which needs to be modified ? If
No, you don't need to modify any class for your new language to be taken into account.
yes how that can be done ? In general would it be fare to pull out a class from a jar file, modify it and put it back ? Please help.. I am using XE 1.5
You don't even need to put it back in the jar, simply put it in "WEB-INF/classes" and it will overwrite or be added to what is in jar files.
But note that you must restart the container (server) for the new file to be taken into consideration. -- Sergiu Dumitriu http://purl.org/net/sergiu/
Hi Thomas, Thanks a lot for the reply. Now it works for me without any core code modifications. Regards Syam Thomas Mortagne wrote:
Hi Syam,
On Mon, Sep 22, 2008 at 11:54 AM, syam_kg <[email protected]> wrote:
Hi I want to add a new language to my XWiki application. I changed Multi Lingual in the 'General' section og Xwiki Preferences to 'Yes' and added that language in the 'Languages' text box. Also I created an ApplicationResources.properties for the language and added it to the XWiki-1.5.jar. Is there any other classes which needs to be modified ? If
No, you don't need to modify any class for your new language to be taken into account.
yes how that can be done ? In general would it be fare to pull out a class from a jar file, modify it and put it back ? Please help.. I am using XE 1.5
You don't even need to put it back in the jar, simply put it in "WEB-INF/classes" and it will overwrite or be added to what is in jar files.
Regards Syam -- View this message in context: http://n2.nabble.com/Adding-a-new-language-tp1109189p1109189.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/Adding-a-new-language-tp1109189p1111451.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Sep 23, 2008, at 6:22 AM, syam_kg wrote:
Hi Thomas,
Thanks a lot for the reply. Now it works for me without any core code modifications.
And I've added the information to the contribution page: http://dev.xwiki.org/xwiki/bin/view/Community/Contributing Thanks -Vincent
Thomas Mortagne wrote:
Hi Syam,
On Mon, Sep 22, 2008 at 11:54 AM, syam_kg <[email protected]> wrote:
Hi I want to add a new language to my XWiki application. I changed Multi Lingual in the 'General' section og Xwiki Preferences to 'Yes' and added that language in the 'Languages' text box. Also I created an ApplicationResources.properties for the language and added it to the XWiki-1.5.jar. Is there any other classes which needs to be modified ? If
No, you don't need to modify any class for your new language to be taken into account.
yes how that can be done ? In general would it be fare to pull out a class from a jar file, modify it and put it back ? Please help.. I am using XE 1.5
You don't even need to put it back in the jar, simply put it in "WEB-INF/classes" and it will overwrite or be added to what is in jar files.
Regards Syam
participants (4)
-
Sergiu Dumitriu -
syam_kg -
Thomas Mortagne -
Vincent Massol