Bug 316873 - Package multiple languages together
Summary: Package multiple languages together
Status: NEW
Alias: None
Product: Babel
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Babel server inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 05:24 EDT by Udo Walker CLA
Modified: 2010-12-21 14:45 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Udo Walker CLA 2010-06-15 05:24:49 EDT
Build Identifier: I20100603-1500

At the moment each plugin has for each language a different fragment bundle jar. If you have 1000 plugins and 10 languages to support you normally add all fragments to the distribution which means for the packaging method you use you have to add 10000 (!!!) extra bundles which is in every step from development to execution very slowly to handle.

It would be much better to package some of the languages together in 1 fragment. E.g. all european languages in 1 fragment. So for the example above you would need only 1000 extra fragment bundles to support all european languages.

Reproducible: Always

Steps to Reproduce:
The structure of such a composite language fragment could be like this.

fragment_root:
src/<package>/messages_de.properties
src/<package>/messages_en.properties
src/<package>/messages_fr.properties
src/<package>/messages_it.properties
src/<package>/messages_tr.properties
plugin_de.properties
plugin_en.properties
plugin_fr.properties
plugin_it.properties
plugin_tr.properties
fragment.xml
Comment 1 Udo Walker CLA 2010-06-15 05:27:27 EDT
Especially to handle a target platform with 3000 fragment bundles only for adding the different languages is very very slowly, even on a fast machine.
Comment 2 Udo Walker CLA 2010-12-20 12:13:01 EST
Is there a need to change this?
Comment 3 Denis Roy CLA 2010-12-21 14:45:37 EST
I'll move this to server since 'plugins' refers to the Editor plugins that Babel has (and for which we have no active committers).