-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to generate i18n #7
Comments
Hi @dbaq I didn't use this kind of generating tools before. Could you please explain more how should it work? Perhaps we could add the feature in this plugin, so that it can do it automatically? Just found this link has more information: steffenschaefer/gwt-gradle-plugin#105 |
I see. It creates I18N interfaces for constants and messages files, which should be very helpful. https://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/i18n.html Should be not hard to add to this plugin, as GWT already has the command line tool. Also we may be able to refer the code in gwt-maven-plugin. Any pull requests are welcome. Will have a look when I have a chance too. |
Somewhat related to this, somewhat off topic, but maybe someone can answer this question: Is there a way to have the GWT-Compiler read the results of a property file, which was processed by Gradle in the processResources task ? Instead of processing the source property file? We are trying to produce a version info in each build, where the build version is a Gradle property allowing Gradles processResources task to do a replacement of "${version}" variable. This is ignored by GWT-Compiler. |
This plugin provides gwtCompile task to actually compile GWT code. So I think the direction would be to check if you can configure in Gradle so that gwtCompile task can depend on processResources or at least run after processResources. |
Hello all, We are migrating from maven to gradle and we are missing those two "tasks". I was searching on internet and couldn't find solution for gradle. |
hey @jiakuan,
Thanks for maintaining this plugin. Do you know if there is an easy way to generate the i18n files?
Thanks
The text was updated successfully, but these errors were encountered: