karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <gma...@talend.com>
Subject Re: New Karaf-webConsole - Apache Wicket
Date Tue, 16 Aug 2011 12:15:34 GMT
Sorry, no experience.  :(

Glen

On 08/16/2011 08:13 AM, Charles Moulliard wrote:
> Hi Glen,
>
> This could be an interesting alternative to use a dropdown list. I
> will have a look like also using hreflang + css. Have you already use
> this tag ?
>
> Regards,
>
> Charles
>
> On Tue, Aug 16, 2011 at 1:29 PM, Glen Mazza<gmazza@talend.com>  wrote:
>> I wonder if a drop-down of language code settings would be a better
>> solution, especially given the large number of languages you're envisioning.
>>   Some UI specialists advise against flags in all cases:
>>   http://tinyurl.com/3sffu99 , although both Liferay and Jetspeed portals use
>> them.
>>
>> Or put the flags in the drop-down.  :)
>>
>> Glen
>>
>> On 08/16/2011 05:53 AM, Charles Moulliard wrote:
>>> I would prefer that images / pictures of flags are centralized and
>>> part of the core bundle. We can add a list of current languages which
>>> will be most probably translated like French, Dutch, German, Italian,
>>> Spanish, English, Polish, Swedish, Danish and extend them (with new
>>> minor releases) when they will be required by a new user/committer.
>>>
>>> We also need to define default values because we will extend the
>>> core/osgi projects and add new labels which will not be added
>>> immediately by partners projects (ServiceMix, Camel, ActiveMQ, Cellar,
>>> Fabric, ...).
>>>
>>> On Tue, Aug 16, 2011 at 10:35 AM, Andreas Pieber<anpieber@gmail.com>
>>>   wrote:
>>>> On Tue, Aug 16, 2011 at 10:27, Charles
>>>> Moulliard<cmoulliard@gmail.com>wrote:
>>>>
>>>>> The situation is a bit more complex than that because if ServiceMix
>>>>> provides a bundle containing by example the page EndpointsListPage,
>>>>> they have to provide translation for this page but also a fragment to
>>>>> add translated labes for NavigationPanel which is until now part of
>>>>> the core.
>>>> This could be removed quite easily (so that it is also localized by the
>>>> client).
>>>>
>>>>
>>>>> So, from this point of view, we do not need to provide a
>>>>> service for images, repeater as they will be part of the core bundle
>>>>> and present in the top banner of the web console. If they don't
>>>>> provide translation, then english will be used by default
>>>>>
>>>> Does this mean we include all possible flags or that clients extend the
>>>> core
>>>> with their fragment? How do we find the images then?
>>>>
>>>> Kind regards,
>>>> Andreas
>>>>
>>>>
>>>>> On Tue, Aug 16, 2011 at 10:14 AM, Andreas Pieber<anpieber@gmail.com>
>>>>> wrote:
>>>>>> Everything great; while fragments work great for localisation the
>>>>> question
>>>>>> still remains how we get flag into the package and who a subproject
can
>>>>>> signal that a language is fully supported. The simplest option would
be
>>>>> to
>>>>>> use an osgi service providing the image and a repeater in some kind
of
>>>>>> drop-down in the core package. The only language I would make default
>>>>>> is
>>>>>> English which means also the English flag is always available by
>>>>>> default.
>>>>> If
>>>>>> e.g. SMX says that it also provides all fragements (in an additional
>>>>>> feature) they can only include a webconsole.germanready.jar bundle
>>>>> exporting
>>>>>> a FullySupportedLanguageService#getFlagPanelWithChangeLogic service
>>>>>> which
>>>>>> can be used by webconsole.core...
>>>>>>
>>>>>> While I basically like the idea I'm not sure about the number of
>>>>>> bundles
>>>>>> this will produce.
>>>>>>
>>>>>> WDYT; any concerns/alternatives?
>>>>>>
>>>>>> Kind regards,
>>>>>> Andreas
>>>>>>
>>>>>> On Tue, Aug 16, 2011 at 09:29, Achim Nierbeck<bcanhome@googlemail.com
>>>>>> wrote:
>>>>>>
>>>>>>> This sounds good and in this case we really need a flag for switching
>>>>>>> the language :-)
>>>>>>>
>>>>>>>
>>>>>>> 2011/8/16 Charles Moulliard<cmoulliard@gmail.com>:
>>>>>>>> If you would like that we check the language browser, then
we can add
>>>>>>>> this option and display the console in the language corresponding
to
>>>>>>>> your browser (German for you in occurrence and Belgian/French
for me
>>>>>>>> ;-).
>>>>>>>>
>>>>>>>> On Tue, Aug 16, 2011 at 9:08 AM, Achim Nierbeck<
>>>>> bcanhome@googlemail.com>
>>>>>>> wrote:
>>>>>>>>> +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<cmoulliard@gmail.com>:
>>>>>>>>>> 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<anpieber@gmail.com
>>>>>>> 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"<anpieber@gmail.com>
>>>>> 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"<
>>>>> cmoulliard@gmail.com>
>>>>>>> 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<
>>>>> anpieber@gmail.com
>>>>>>>>>>>> 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<
>>>>>>> cmoulliard@gmail.com
>>>>>>>>>>>>> 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/>
>>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> *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/>
>>>>>>>
>>
>> --
>> Glen Mazza
>> Talend - http://www.talend.com/ai
>> Blog - http://www.jroller.com/gmazza
>> Twitter - glenmazza
>>
>>
>>


-- 
Glen Mazza
Talend - http://www.talend.com/ai
Blog - http://www.jroller.com/gmazza
Twitter - glenmazza



Mime
View raw message