I've mailed you on your mailing list, and there was no reaction, the mistake is still on your webpage. Is there still happening something? And where could I obtain support, because here I didn't?
At the moment I've got the problem that my text is not translated and I don't know why. Is it explained somewhere what the en/de.properties are for? I've created the resource bundles, but not more, is that not enough?
tnx,
Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is my dir structure:
$ find
.
./po
./po/de.po
./po/keys.pot
./conf
./conf/app
./conf/app/i18n
./I18n$EmptyResourceBundle$EmptyStringEnumeration.class
./Messages.properties
./i18n.properties
./LocaleChangeListener.java
./I18n.java
./I18n.class
./I18nFactory.class
./I18n$EmptyResourceBundle.class
./I18nManager.java
./Abc.class
./I18nFactory.java
./LocaleChangeEvent.class
./LocaleChangeEvent.java
./I18nManager.class
./Abc.java
./LocaleChangeListener.class
./I18nManager$WeakLocaleChangeListener.class
I've created the Messages.properties by myself (via touch Messages.properties). The content of the i18n.properties is now «basename=conf/app/i18n», and I gueses that is wrong. What do I exactly have to set there? The Abc.java is the test file with the text which should be translated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why did you unpack or compile gettext-commons instead of using the gettext-commons.jar?
The gettext-commons classes don't seem to be in their right package. Further, Messages.properties should not be created by touch, but should be the generated by the gettext tools.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for my late response, I had a lot of things to do.
I have unpacked it because then I can see what happens in the source, otherwise Eclipse would not display it. The comments are useful too. And, I don't know how to use a jar file ;)
Do the files have to be in the package org.and.so.on? Does that matter? The Messages.properties hasn't been generated ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=62553
Originator: NO
Hi,
the gettext project is not dead. Your email never showed up in my inbox and was probably marked as spam. Sorry.
The mailing list is still a good place to ask for support or the bug tracker if you found a specific issue that needs fixing.
Felix
Logged In: YES
user_id=1514276
Originator: YES
Hi,
No problem. It was this mail here:
https://sourceforge.net/mailarchive/forum.php?thread_name=45E97041.7000504%40gmail.com&forum_name=xnap-commons-devel
At the moment I've got the problem that my text is not translated and I don't know why. Is it explained somewhere what the en/de.properties are for? I've created the resource bundles, but not more, is that not enough?
tnx,
Simon
Logged In: YES
user_id=62553
Originator: NO
If msgfmt was run successfully, src/conf should look like this:
find src/conf/
src/conf/
src/conf/app
src/conf/app/i18n
src/conf/app/i18n/Messages_de$1.class
src/conf/app/i18n/Messages_de.class
Make sure src/conf is on your classpath and follow the last steps in the tutorial, placing the properties file in you top level package.
Logged In: YES
user_id=1514276
Originator: YES
Here is my dir structure:
$ find
.
./po
./po/de.po
./po/keys.pot
./conf
./conf/app
./conf/app/i18n
./I18n$EmptyResourceBundle$EmptyStringEnumeration.class
./Messages.properties
./i18n.properties
./LocaleChangeListener.java
./I18n.java
./I18n.class
./I18nFactory.class
./I18n$EmptyResourceBundle.class
./I18nManager.java
./Abc.class
./I18nFactory.java
./LocaleChangeEvent.class
./LocaleChangeEvent.java
./I18nManager.class
./Abc.java
./LocaleChangeListener.class
./I18nManager$WeakLocaleChangeListener.class
I've created the Messages.properties by myself (via touch Messages.properties). The content of the i18n.properties is now «basename=conf/app/i18n», and I gueses that is wrong. What do I exactly have to set there? The Abc.java is the test file with the text which should be translated.
Logged In: YES
user_id=62553
Originator: NO
Why did you unpack or compile gettext-commons instead of using the gettext-commons.jar?
The gettext-commons classes don't seem to be in their right package. Further, Messages.properties should not be created by touch, but should be the generated by the gettext tools.
Logged In: YES
user_id=1514276
Originator: YES
Sorry for my late response, I had a lot of things to do.
I have unpacked it because then I can see what happens in the source, otherwise Eclipse would not display it. The comments are useful too. And, I don't know how to use a jar file ;)
Do the files have to be in the package org.and.so.on? Does that matter? The Messages.properties hasn't been generated ...
Logged In: YES
user_id=165597
Originator: NO
The Gettext Commons project has been moved to http://code.google.com/p/gettext-commons/.