+1 for this this is a proper solution. One thing regarding the flags, for example you have a german browser but rather have the english menu how would you switch that besides altering the browser :-)
regards, Achim 2011/8/16 Charles Moulliard <[email protected]>: > Fragments should be used to add translated xxxx_yy.properties or > xxxx_yy.xml files. This is the way to go and will not cause any > dependencies issues. > > On Tue, Aug 16, 2011 at 8:09 AM, Andreas Pieber <[email protected]> wrote: >> To make this clear: with users I mean subprojects like smx. An alternative >> solution coming to my mind are fragments. This will make it even easier to >> configure and adapt resources like language or flags, or css,... >> On Aug 16, 2011 8:07 AM, "Andreas Pieber" <[email protected]> wrote: >>> No problem. Only question then how we should handle the case that some >>> translations are complete and others not. For example the karaf core >> console >>> supports German, French and English, smx only espanol and English? How do >> we >>> handle the case that someone wants to replace flags? Maybe create an osgi >>> service and supported language bundles? That way users can overwrite them >> or >>> only provide bundles for those languages they support? >>> >>> Kind regards, Andreas >>> On Aug 16, 2011 7:53 AM, "Charles Moulliard" <[email protected]> wrote: >>>> Hi Andreas, >>>> >>>> Well, this is an interesting question and also debate. I would prefer >>>> that the user has the possibility to change itself the language for >>>> the following reason : some users/administrators does not have the >>>> rights to change their browser language and depend on the language >>>> provided. >>>> >>>> Regards, >>>> >>>> Charles >>>> >>>> On Tue, Aug 16, 2011 at 5:35 AM, Andreas Pieber <[email protected]> >>> wrote: >>>>> I've just added German translation. One point here: while the flags are >>>>> quite nice during development do we really want to add a way for the >> user >>> to >>>>> switch the language manually? Typically it works quite well letting >>> wicket >>>>> choosing the language configured in your browser. >>>>> >>>>> WDYT? >>>>> >>>>> Kind regards, >>>>> Andreas >>>>> >>>>> On Mon, Aug 15, 2011 at 15:57, Charles Moulliard <[email protected] >>>>wrote: >>>>> >>>>>> I think that this could be done easily as we only need to add or remove >>>>>> flags and the code whic allows to set language >>>>>> >>>>>> >>>>>> On 15/08/11 15:36, Glen Mazza wrote: >>>>>> >>>>>>> Hi Charles, have you designed it in a way to make it moderately >>> feasible >>>>>>> to switch flags if desired during branding? (IIRC the Apache Jetspeed >>>>>>> portal unfortunately has the flag choices deeply locked alongside code >>>>>>> within JARs making modification cumbersome.) English, Arabic, >>> Portuguese, >>>>>>> and Traditional Chinese are some languages I can think of that can >> call >>> for >>>>>>> different flags depending on where it's used. >>>>>>> >>>>>>> Glen >>>>>>> >>>>>>> On 08/15/2011 07:34 AM, Charles Moulliard wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I have committed I18n for the new Karaf Webconsole. You can have a >>>>>>>> lookby clicking on Features List and next click on the flags France >> or >>>>>>>> Union Jack - UK to see How the name of the columns change. >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Charles Moulliard >>>>>>>> >>>>>>>> Apache Committer >>>>>>>> >>>>>>>> Blog : http://cmoulliard.blogspot.com >>>>>>>> Twitter : http://twitter.com/cmoulliard >>>>>>>> Linkedin : http://www.linkedin.com/in/**charlesmoulliard< >>> http://www.linkedin.com/in/charlesmoulliard> >>>>>>>> Skype: cmoulliard >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>> >> > -- -- *Achim Nierbeck* Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/>
