Community
Participate
Working Groups
This is an umbrella ticket to add/improve support for i18n in Sirius. "Support i18n" is very broad and vague, but the focus is on allowing Sirius-based modelers to be internationalized. It does not at this point concern translating the VSM editor for example. Some concrete actions (which will be treated in separate tickets): * Externalize strings from the Sirius source code, in particular the one which appear in the end-user-visible UI parts (e.g. menus, dialogs, error messages), using the standard Eclipse tooling and localization framework. * Provide a way for hard-coded (i.e. non-interpreted) strings in a VSM to be translatable if they appear in the UI. For example the names of tools which appear in the palette are not computed but should be translatable. We could introduce a convention similar to the one in Eclipse's plugin.xml & MANIFEST.MF: a tool name of the form "%newItem" in the VSM would, at runtime, be looked-up in a locale-specific .properties file.
Moving to 3.0 to at least make some concrete moves in this direction.
Moving to 4.0. I'll create sub-tickets for smaller tasks, some of which may be feasible for 3.1.
(In reply to Pierre-Charles David from comment #0) > * Provide a way for hard-coded (i.e. non-interpreted) strings in a VSM to be > translatable if they appear in the UI. For example the names of tools which > appear in the palette are not computed but should be translatable. We could > introduce a convention similar to the one in Eclipse's plugin.xml & > MANIFEST.MF: a tool name of the form "%newItem" in the VSM would, at > runtime, be looked-up in a locale-specific .properties file. For this part, http://eclipsesource.com/blogs/tutorials/how-to-customize-emf-forms/#localization seems to have some good ideas to take inspiration from (and maybe actual code too).
New Gerrit change created: https://git.eclipse.org/r/65386
New Gerrit change created: https://git.eclipse.org/r/66946
Gerrit change https://git.eclipse.org/r/65386 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=929c64f8e0f280ac95f33fa59cc1250064f8126b
Gerrit change https://git.eclipse.org/r/66946 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c5d1e5e7de35dfbef9a3b1f8ca064afc69956954
New Gerrit change created: https://git.eclipse.org/r/70733
New Gerrit change created: https://git.eclipse.org/r/70732
New Gerrit change created: https://git.eclipse.org/r/70737
New Gerrit change created: https://git.eclipse.org/r/70736
New Gerrit change created: https://git.eclipse.org/r/70735
New Gerrit change created: https://git.eclipse.org/r/70734
Gerrit change https://git.eclipse.org/r/70732 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8b686b2aa4b436fde8843c6623758b45dff13102
Gerrit change https://git.eclipse.org/r/70735 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=b35405fcbdf49d0dcadf943c1c01b69bbbf5b3de
Gerrit change https://git.eclipse.org/r/70736 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f2a874c6ae5793877e8bcc32626141ce6b137321
New Gerrit change created: https://git.eclipse.org/r/71855
Gerrit change https://git.eclipse.org/r/71855 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=74ad9c7f56b52597ee809ea26254bfaec73f920a
Gerrit change https://git.eclipse.org/r/70737 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1dcaed8f90e96d0f7dcad3928dcf6eb437f64f0e
New Gerrit change created: https://git.eclipse.org/r/71927
Gerrit change https://git.eclipse.org/r/71927 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=95792864a830b332a1e5751d9c62db3cb8d9e11c
There's some followup work identified (for which we still need to create the tickets), but considering the scope we targeted for this version, the work is done.
New Gerrit change created: https://git.eclipse.org/r/72386
New Gerrit change created: https://git.eclipse.org/r/72385
Gerrit change https://git.eclipse.org/r/72385 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f596fa4c042ce4fa0d4449b219f2d8d9d73b8e5c
Gerrit change https://git.eclipse.org/r/72386 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=e1b51a3cd90fba6a98e841a7e876ad3c95f15015
New Gerrit change created: https://git.eclipse.org/r/72521
New Gerrit change created: https://git.eclipse.org/r/72520
Gerrit change https://git.eclipse.org/r/72520 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8b0aa65e9b997b032a97abf4cd8f00023bb6e47a
Gerrit change https://git.eclipse.org/r/72521 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=890c6d5b6b7d3454fdad4d8b3446ab53a20a3c55
New Gerrit change created: https://git.eclipse.org/r/72591
Gerrit change https://git.eclipse.org/r/72591 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=425fea1044e14703b493be3601af0338d298415d
Verified on Sirius 4.0.0 RC1 (4.0.0.201605180923) Testing by modifying BasicFamily tool and launching a runtime with arguments "-nl en" or "-nl fr".
New Gerrit change created: https://git.eclipse.org/r/73730
Gerrit change https://git.eclipse.org/r/73730 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=f4e81f977d6e35c10086eee0001d57841cf57cac
New Gerrit change created: https://git.eclipse.org/r/74008
Gerrit change https://git.eclipse.org/r/74008 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=3f662b09b539c8ca15961e8fcd88658f74dd5b5f
Available in Sirius 4.0.0.