You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Andrea Pescetti <pe...@apache.org> on 2014/06/21 22:25:34 UTC
Re: [www] NEW language Selection Dropdown!
On 20/05/2014 21:52, Marcus (OOo) wrote:
> Am 05/20/2014 11:13 AM, schrieb Tal Daniel:
>>>> Please test it a bit, comment here, and if all goes well, I'll move the
>>>> code into the site brand.html template, to affect all sites.
We are now at a point where we could enable this, right? Of course,
improvements are always possible, but once we have something online it's
easier to make incremental fixes.
For example, leveraging the Apache CMS and view.pm is "nice to have", ,
but it will be easier to involve an Apache CMS guru after the thing is
online rather than wait.
>> source code: I've added a comment next to
>> each<option>, stating the language in English.
> I don't see it as redundant information as it helps to identify what to
> choose. And I mean the average user, not developers especially.
Looking around, it seems that a good solution could be to do like the
European Union official site http://europa.eu/ does: language name in
native language and language code in square brackets. So something like
Italiano [it]
Magyar [hu]
Polski [pl]
Could this work? This is quite compact and informative, especially in
our case where we actually use the language code for the directory
containing the subsite (in most cases).
Regards,
Andrea.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: [www] NEW language Selection Dropdown!
Posted by Tal Daniel <ta...@gmail.com>.
Great. I thought to publish it, too, lately (move the language bar from the
test page, to the brand.html template, on top; see
http://ooo-site.staging.apache.org/test/templates/brand-template-with-language-select-without-vars.html
).
I understand that you prefer to mention language codes in brackets (e.g.
"... [it]"), rather than writing only the language names, as it is
currently, and in Mozilla too. Note that a month ago, I mentioned that
there are already inline HTML comments, for developers, next to each
option, in the source code, intended for developers.
Anyway, I'll try to publish soon,
Tal
On Sun, Jun 22, 2014 at 12:14 AM, Marcus (OOo) <ma...@wtnet.de> wrote:
> Am 06/21/2014 10:25 PM, schrieb Andrea Pescetti:
>
> On 20/05/2014 21:52, Marcus (OOo) wrote:
>>
>>> Am 05/20/2014 11:13 AM, schrieb Tal Daniel:
>>>
>>>> Please test it a bit, comment here, and if all goes well, I'll move
>>>>>> the
>>>>>> code into the site brand.html template, to affect all sites.
>>>>>>
>>>>>
>> We are now at a point where we could enable this, right? Of course,
>> improvements are always possible, but once we have something online it's
>> easier to make incremental fixes.
>>
>> For example, leveraging the Apache CMS and view.pm is "nice to have", ,
>> but it will be easier to involve an Apache CMS guru after the thing is
>> online rather than wait.
>>
>
> I this case I think it's impossible to test deeply on the local machine as
> the interaction with the CMS here is key.
>
> So indeed, starting with a minimal implementation and fixing problems
> on-the-fly seems needed.
>
>
> source code: I've added a comment next to
>>>> each<option>, stating the language in English.
>>>>
>>> I don't see it as redundant information as it helps to identify what to
>>> choose. And I mean the average user, not developers especially.
>>>
>>
>> Looking around, it seems that a good solution could be to do like the
>> European Union official site http://europa.eu/ does: language name in
>> native language and language code in square brackets. So something like
>>
>> Italiano [it]
>> Magyar [hu]
>> Polski [pl]
>>
>> Could this work? This is quite compact and informative, especially in
>> our case where we actually use the language code for the directory
>> containing the subsite (in most cases).
>>
>
> Sure, that would fit.
>
> @Tal:
> Please go ahead. :-)
>
> Marcus
>
>
--
טל
Re: [www] NEW language Selection Dropdown!
Posted by Kay Schenk <ka...@gmail.com>.
On Sat, Jun 21, 2014 at 2:14 PM, Marcus (OOo) <ma...@wtnet.de> wrote:
> Am 06/21/2014 10:25 PM, schrieb Andrea Pescetti:
>
> On 20/05/2014 21:52, Marcus (OOo) wrote:
>>
>>> Am 05/20/2014 11:13 AM, schrieb Tal Daniel:
>>>
>>>> Please test it a bit, comment here, and if all goes well, I'll move
>>>>>> the
>>>>>> code into the site brand.html template, to affect all sites.
>>>>>>
>>>>>
>> We are now at a point where we could enable this, right? Of course,
>> improvements are always possible, but once we have something online it's
>> easier to make incremental fixes.
>>
>> For example, leveraging the Apache CMS and view.pm is "nice to have", ,
>> but it will be easier to involve an Apache CMS guru after the thing is
>> online rather than wait.
>>
>
> I this case I think it's impossible to test deeply on the local machine as
> the interaction with the CMS here is key.
>
By downloading and using the build scripts as described here --
http://openoffice.apache.org/website-local.html#how-to-do-website-development-locally-for-technical-users
you actually do produce the same results as the CMS does but in your local
environment. This is kind of mandatory if you change any files that effect
the CMS processing -- templates, etc.
I think maybe this part is not clear. I will make some modifications today
to help.
> So indeed, starting with a minimal implementation and fixing problems
> on-the-fly seems needed.
>
>
> source code: I've added a comment next to
>>>> each<option>, stating the language in English.
>>>>
>>> I don't see it as redundant information as it helps to identify what to
>>> choose. And I mean the average user, not developers especially.
>>>
>>
>> Looking around, it seems that a good solution could be to do like the
>> European Union official site http://europa.eu/ does: language name in
>> native language and language code in square brackets. So something like
>>
>> Italiano [it]
>> Magyar [hu]
>> Polski [pl]
>>
>> Could this work? This is quite compact and informative, especially in
>> our case where we actually use the language code for the directory
>> containing the subsite (in most cases).
>>
>
> Sure, that would fit.
>
> @Tal:
> Please go ahead. :-)
>
> Marcus
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>
--
-------------------------------------------------------------------------------------------------
MzK
"What you can do, or dream you can do, begin it;
Boldness has genius, power and magic in it."
-- attributed to Johann Wolfgang von Goethe
Re: [www] NEW language Selection Dropdown!
Posted by "Marcus (OOo)" <ma...@wtnet.de>.
Am 06/21/2014 10:25 PM, schrieb Andrea Pescetti:
> On 20/05/2014 21:52, Marcus (OOo) wrote:
>> Am 05/20/2014 11:13 AM, schrieb Tal Daniel:
>>>>> Please test it a bit, comment here, and if all goes well, I'll move
>>>>> the
>>>>> code into the site brand.html template, to affect all sites.
>
> We are now at a point where we could enable this, right? Of course,
> improvements are always possible, but once we have something online it's
> easier to make incremental fixes.
>
> For example, leveraging the Apache CMS and view.pm is "nice to have", ,
> but it will be easier to involve an Apache CMS guru after the thing is
> online rather than wait.
I this case I think it's impossible to test deeply on the local machine
as the interaction with the CMS here is key.
So indeed, starting with a minimal implementation and fixing problems
on-the-fly seems needed.
>>> source code: I've added a comment next to
>>> each<option>, stating the language in English.
>> I don't see it as redundant information as it helps to identify what to
>> choose. And I mean the average user, not developers especially.
>
> Looking around, it seems that a good solution could be to do like the
> European Union official site http://europa.eu/ does: language name in
> native language and language code in square brackets. So something like
>
> Italiano [it]
> Magyar [hu]
> Polski [pl]
>
> Could this work? This is quite compact and informative, especially in
> our case where we actually use the language code for the directory
> containing the subsite (in most cases).
Sure, that would fit.
@Tal:
Please go ahead. :-)
Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org