On Sat, Aug 21, 2010 at 03:47, Ivan Levashew <i.levas...@bluebottle.com> wrote: > Ramon Gomes Brandão - SERINT <ramon.bran...@...> writes: > >> >> Hi, >> >> How can I translate the Wysiwyg application into portuguese? >> I've noticed that there's the editor core >> resources file (Strings.properties) content on >> http://l10n.xwiki.org/xwiki/bin/view/Wysiwyg/ , >> but I cannot understand how I proceed with it with my running >> instance (where do I place it etc). >> >> What should I do to enable this? >> > > Download xwiki-web sources, locate the following folder: > > xwiki-gwt-wysiwyg-client/src/main/resources/org/xwiki/gwt/wysiwyg/client > > Create another Strings.properties file. There might be something > else to be done to enable another language.
Yes, you also have to make sure your language is listed in src/main/resources/org/xwiki/gwt/wysiwyg/Wysiwyg.gwt.xml or src/main/resources/org/xwiki/gwt/user/User.gwt.xml. depending of the project your are translating (see http://l10n.xwiki.org/xwiki/bin/view/Wysiwyg/). > > Rebuild everything on maven. GWT compiles something strange called > permutations. There will be lots of html pages in the folder > > standard/target/war/work/com.xpn.xwiki.platform/ > xwiki-web-gwt-wysiwyg-server/resources/js/xwiki/wysiwyg/xwe > > Then you can replace resources/js/xwiki/wysiwyg/xwe contents on a > running instance with new files. > > More on rebuilding sources: > http://dev.xwiki.org/xwiki/bin/view/Community/Building > > -- > If you want to get to the top, you have to start at the bottom > > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users