Bug 249358 - Initial contrib (bulk) of EMF Validation translations
Summary: Initial contrib (bulk) of EMF Validation translations
Status: REOPENED
Alias: None
Product: Babel
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Kit Lo CLA
QA Contact:
URL: http://www.eclipse.org/modeling/downl...
Whiteboard:
Keywords:
Depends on:
Blocks: 249129
  Show dependency tree
 
Reported: 2008-10-01 13:59 EDT by Christian Damus CLA
Modified: 2008-12-02 07:58 EST (History)
3 users (show)

See Also:


Attachments
Initial EMF Validation nl files (361.06 KB, application/zip)
2008-10-01 14:03 EDT, Christian Damus CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2008-10-01 13:59:41 EDT
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.
Comment 1 Christian Damus CLA 2008-10-01 14:03:00 EDT
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).
Comment 2 Denis Roy CLA 2008-11-12 14:14:21 EST
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 ?
Comment 3 Christian Damus CLA 2008-11-12 14:23:25 EST
(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.
Comment 4 Antoine Toulmé CLA 2008-11-19 09:03:57 EST
This submission is approved and I will work on contributing it to the DB.
Comment 5 Christian Damus CLA 2008-11-19 09:25:59 EST
(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

:-)
Comment 6 Antoine Toulmé CLA 2008-11-19 09:30:41 EST
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.
Comment 7 Antoine Toulmé CLA 2008-11-19 09:31:28 EST
(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

Comment 8 Christian Damus CLA 2008-11-19 09:41:55 EST
(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.
> 

Comment 9 Antoine Toulmé CLA 2008-11-19 09:54:46 EST
(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.
> > 
> 

Comment 10 Kit Lo CLA 2008-11-24 09:23:43 EST
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.
Comment 11 Christian Damus CLA 2008-11-24 09:30:59 EST
(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.
Comment 12 Antoine Toulmé CLA 2008-11-25 12:32:16 EST
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.
Comment 13 Antoine Toulmé CLA 2008-11-25 13:34:14 EST
Committed to the live database. Thanks for your contribution!
Comment 14 Christian Damus CLA 2008-11-25 13:52:46 EST
(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).
Comment 15 Antoine Toulmé CLA 2008-11-25 13:55:43 EST
(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
Comment 16 Christian Damus CLA 2008-11-25 14:53:19 EST
Looks like I answered my own question.
Comment 17 Claus Klammer CLA 2008-12-02 06:10:27 EST
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?


Comment 18 Antoine Toulmé CLA 2008-12-02 06:32:15 EST
(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.
Comment 19 Claus Klammer CLA 2008-12-02 06:56:34 EST
(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

Comment 20 Antoine Toulmé CLA 2008-12-02 07:58:02 EST
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.