Community
Participate
Working Groups
Some time after the Ganymede release, somebody (I don't know who) uploaded map files and initial translations for my EMF Components: Query, Transaction, and Validation. The first two are OK, but the last is not. The EMF Validation map-file URL was specified incorrectly and, as a result, I guess the import of translations didn't take. Well, now I have corrected the map file for EMF Validation, so can we please take another crack at importing the translations? The EMF Validation translations were originally contributed by IBM and are published on the Eclipse website at the URL indicated on this bug. I shall also attach them in the format required by the import process.
Created attachment 114021 [details] Initial EMF Validation nl files Attached the translated properties files from IBM's contribution of translations, in what I think is the layout that you require. These were extracted from the ZIP file that is published on the EMF downloads page (see link, above).
Sorry for the delay ... I've opened this CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=2846 Also, is this related to bug 235607 ?
(In reply to comment #2) > Sorry for the delay ... I've opened this CQ: > https://dev.eclipse.org/ipzilla/show_bug.cgi?id=2846 No problem. Thanks!. And sorry, I didn't realize that a CQ was required, as I obtained the attached content from the Eclipse Website. > Also, is this related to bug 235607 ? I don't think so. We do all have similar CVS folder structures in the EMF project, but Validation's problem seems to be that the original attempt to submit the existing translations didn't take simply because the map file was incorrectly specified in the Babel tool.
This submission is approved and I will work on contributing it to the DB.
(In reply to comment #4) > This submission is approved and I will work on contributing it to the DB. Thanks, Antoine, but I think the Babel team has a tool that can bulk-import the strings. At least, that understanding is what spurred me to spend a bunch of time massaging the format of the ZIP file to match the layout prescribed here: http://www.eclipse.org/babel/development/large_contributions.php :-)
I just imported the strings on staging. Please go there[0] to see what they look like. I have the following errors during the import: Those two files seem to be absent from babel: /org.eclipse.emf.validation.ocl.source/plugin.properties /org.eclipse.emf.validation.source/plugin.properties Christian, is it ok to ignore those two files ? I also have a list of errors related to the locale zh_HK. It seems there is no such locale in Babel. Should we add the locale or ignore the errors ? The import is pending those questions.
(In reply to comment #5) I am a Babel committer and that's the tool I use :) [0]: http://babel.eclipse.org/staging/recent.php
(In reply to comment #7) > (In reply to comment #5) > I am a Babel committer and that's the tool I use :) Doh! Silly me. I thought you were being extraordinarily generous. :-P > [0]: http://babel.eclipse.org/staging/recent.php Looks great! (In reply to comment #6) > I just imported the strings on staging. Please go there[0] to see what they > look like. > > I have the following errors during the import: > > Those two files seem to be absent from babel: > /org.eclipse.emf.validation.ocl.source/plugin.properties > /org.eclipse.emf.validation.source/plugin.properties > > Christian, is it ok to ignore those two files ? Sorry, yes. They shouldn't have been included in the ZIP. These will just be copies of the same files in the run-time plug-ins (as they are generated source bundles). > I also have a list of errors related to the locale zh_HK. It seems there is no > such locale in Babel. Should we add the locale or ignore the errors ? Hunh. I don't know. I guess IBM had a mandate to support the Hong Kong dialect. It would have been included in the original contributions of the IBM translations of several other modeling projects, but evidently Babel dropped this locale in those, too. Part of me says "Why ditch a resource that you already have?" but the other says "Presumably Babel had a reason not to include this locale, because this must have come up before." I think it'll have to be a Babel decision, not mine. I don't know that one little project like mine should open up a hole in the translation DB of every other project ... > The import is pending those questions. >
(In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #5) > > I am a Babel committer and that's the tool I use :) > > Doh! Silly me. I thought you were being extraordinarily generous. :-P :D > > > > [0]: http://babel.eclipse.org/staging/recent.php > > Looks great! Cool. > > > (In reply to comment #6) > > I just imported the strings on staging. Please go there[0] to see what they > > look like. > > > > I have the following errors during the import: > > > > Those two files seem to be absent from babel: > > /org.eclipse.emf.validation.ocl.source/plugin.properties > > /org.eclipse.emf.validation.source/plugin.properties > > > > Christian, is it ok to ignore those two files ? > > Sorry, yes. They shouldn't have been included in the ZIP. These will just be > copies of the same files in the run-time plug-ins (as they are generated source > bundles). That's what I thought. That's ok, I'll just ignore their little whining logging screams. > > > > I also have a list of errors related to the locale zh_HK. It seems there is no > > such locale in Babel. Should we add the locale or ignore the errors ? > > Hunh. I don't know. I guess IBM had a mandate to support the Hong Kong > dialect. It would have been included in the original contributions of the IBM > translations of several other modeling projects, but evidently Babel dropped > this locale in those, too. > > Part of me says "Why ditch a resource that you already have?" but the other > says "Presumably Babel had a reason not to include this locale, because this > must have come up before." > > I think it'll have to be a Babel decision, not mine. I don't know that one > little project like mine should open up a hole in the translation DB of every > other project ... Indeed, Kit should know more. > > > > The import is pending those questions. > > >
IBM supports the zh_HK locale. But actually, the translations are an exact copy of zh_TW. There is no request for the zh_HK locale in Babel so far. When that's requested, we will write some code to use the zh_TW translations to generate the zh_HK language packs. Therefore, we can ignore the zh_HK translations from Christian's zip for now.
(In reply to comment #10) > > Therefore, we can ignore the zh_HK translations from Christian's zip for now. Thanks, Kit, for your attention. That makes perfect sense to me.
I committed the translations to the staging area and they look good to me: http://babel.eclipse.org/staging/recent.php I have flagged them as made by professionals in context, and will add them to the live DB now.
Committed to the live database. Thanks for your contribution!
(In reply to comment #13) > Committed to the live database. Thanks for your contribution! > Thanks, Antoine. Does it toke some time to appear in the DB? I see all of the EMF Validation files in the Babel tool, but almost all of them are at 0% translated in the French and German locales (and others, too, that I spot-checked).
(In reply to comment #14) > (In reply to comment #13) > > Committed to the live database. Thanks for your contribution! > > > > Thanks, Antoine. Does it toke some time to appear in the DB? > > I see all of the EMF Validation files in the Babel tool, but almost all of them > are at 0% translated in the French and German locales (and others, too, that I > spot-checked). > Yes, a job runs from every 4 hours roughly to update that. Look here: http://babel.eclipse.org/babel/recent.php
Looks like I answered my own question.
emf.validation* plugins does not show up in the recent download package (from 28. November). Why are these fragments not included yet? Is there another way to download them in the meantime?
(In reply to comment #17) > emf.validation* plugins does not show up in the recent download package (from > 28. November). Why are these fragments not included yet? Is there another way > to download them in the meantime? > What package are you referring to exactly ? The translations should be included in the Babel update site. The translations should show under the name modeling.emf.
(In reply to comment #18) > (In reply to comment #17) > > emf.validation* plugins does not show up in the recent download package (from > > 28. November). Why are these fragments not included yet? Is there another way > > to download them in the meantime? > > > What package are you referring to exactly ? The translations should be included > in the Babel update site. The translations should show under the name > modeling.emf. > There is no language pack for 'modeling.emf' at http://download.eclipse.org/technology/babel/babel_language_packs/ although I see that the files have been translated (see link below). http://babel.eclipse.org/babel/translate.php?project=modeling.emf&version=1.2&file=org.eclipse.emf/org.eclipse.emf.validation/plugins/org.eclipse.emf.validation.ui/src/org/eclipse/emf/validation/ui/internal/l10n/ValidationUIMessages.properties thanks for you help
Denis, it sounds like a whole bunch of EMF plugins are missing from the update site and the downloads page. I am adding you to CC, whoever has time first should take a look if that's ok with you.