-
1. Re: GateIn Internationalization
theute Sep 28, 2009 6:45 AM (in response to david.calvente)mmm, I didn't try this yet.
You could try on an empty DB (you can delete the 'temp' directory) as the properties are loaded in the JCR.
You see no Spanish in any of the pages ? -
2. Re: GateIn Internationalization
david.calvente Sep 28, 2009 4:07 PM (in response to david.calvente)Ok, I tried deleting temp and it seems it's working now (at least I see some Spanish..)
I'll keep going on my translations and let you know...
Thanks a lot
David -
3. Re: GateIn Internationalization
theute Sep 28, 2009 4:35 PM (in response to david.calvente)If you happen to be willing to share the translations with others, please open a JIRA here: https://jira.jboss.org/jira/browse/GTNPORTAL to attach your files.
Also you would need to sign the contributor agreement here: http://www.jboss.org/author
(Also next week we will release the Beta02, so if you happen to be done this week, we could add it in that release :) )
Thanks ! -
4. Re: GateIn Internationalization
david.calvente Sep 28, 2009 4:42 PM (in response to david.calvente)I've seen items to translate in 02portal.war, but also in exoadmin.war
Could you please tell me how to find all the resources to be translated?
David -
5. Re: GateIn Internationalization
theute Sep 28, 2009 4:54 PM (in response to david.calvente)I started to list them in a documentbut it looks like you went ahead :)
The one I've listed are located in the sources as:
* ./web/portal/src/main/webapp/WEB-INF/classes/locale
* ./portlet/web/src/main/webapp/WEB-INF/classes/locale
* ./portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale
* ./portlet/dashboard/src/main/webapp/WEB-INF/classes/locale
* ./gadgets/eXoGadgets/src/main/webapp/locale
* ./sample/application/map/src/main/webapp/WEB-INF/classes/locale
it translates into:
01eXoResources.war
02portal.war
dashboard.war
exoadmin.war
eXoGadgets.war
web.war
web.war
Note that some strings aren't extracted into property files yet but should be done (For example in the login page :-/ ) -
6. Re: GateIn Internationalization
david.calvente Sep 28, 2009 5:00 PM (in response to david.calvente)In order to sign the contributor agreement found at http://www.jboss.org/author I need an account and the one from this forum is not valid (Not SSO)
Where/How should I apply for my account? -
7. Re: GateIn Internationalization
sorenschmidt Sep 28, 2009 5:01 PM (in response to david.calvente)Hola David,
if you want to translate everything you need to search for all *_en.properties files (in all wars) and translate them in Spanish and save them in the same folder/classpath using the file name *_es.properties.
I don't think that there is an easier way.
The reason is that nearly all messages you see in GateIn is inside portlets and these portlets are stored in war files.
cu
Soren -
8. Re: GateIn Internationalization
david.calvente Sep 28, 2009 5:06 PM (in response to david.calvente)Hi Sörens,
that's exactly what I'm doing (with Thomas's help).
I could be easier if I could connect to SVN and work a little bit more confortable!
I tried http://anonsvn.jboss.org/repos/gatein/ but it's like a nightmare (at least, I can't find nothing usable)
Is there a SVN where I could attach my IDE? -
9. Re: GateIn Internationalization
theute Sep 28, 2009 5:11 PM (in response to david.calvente)Oups, sorry I meant http://www.jboss.org/contribute.
The sources is not yet available it will be here:
http://anonsvn.jboss.org/repos/gatein/portal/trunk/
next week (changing licenses to LGPL) -
10. Re: GateIn Internationalization
david.calvente Sep 28, 2009 5:22 PM (in response to david.calvente)Thanks Thomas,
I think it's better to wait till next Week. I know you'll prefer me to finish the translations, but it's too tight in time. I promish to contribute with them as soon as I finish, but I prefer to work in Beta 2 and in a more rational environment (SVN etc)
Hope not to get you upset... -
11. Re: GateIn Internationalization
theute Sep 28, 2009 5:25 PM (in response to david.calvente)No problem, I was just giving you the date just in case you wanted to see the fruit of your work in Beta2, this can definitely wait. It will be welcome anytime in fact ;)
-
12. Re: GateIn Internationalization
david.calvente Nov 9, 2009 12:35 PM (in response to david.calvente)I have a first version of spanish tested for Beta2
How should I upload it? -
13. Re: GateIn Internationalization
theute Nov 9, 2009 12:50 PM (in response to david.calvente)Excellent !
Please open a Jira and attach to it
https://jira.jboss.org/jira/browse/GTNPORTAL -
14. Re: GateIn Internationalization
david.calvente Nov 9, 2009 1:08 PM (in response to david.calvente)Hi Thomas,
What about the Contribute mode?
I'm synchronizing with http://anonsvn.jboss.org/repos/gatein/portal/trunk/
and I was thinking of "commit" the changes". Is that posible?
I have another question (maybe this is not the rigth place): Is there any "Portal Sample" fully independent from "classic" in order to start with it? (something more elaborated then starter-gatein.ear).
I tried the Documentation Steps for creating a new one but the Administrator "New Portal" option is missing.
I also tried the sample-portal but as I said, it seems to be very dependent on "classic"
Regards
David