Quantcast

Minor LinguaPlone changes

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Minor LinguaPlone changes

Mikel Larreategi
Hi:

I have a couple of changes to merge into LinguaPlone trunk, but I
wanted to comment them here, in case someone has any objection:

1. Show the language list in "translate into" menu in its native form:
Currently the menu shows the language names with its english name what
is many times weird for users. Moreover the language change viewlet
already shows the language name in its native form.

2. Mark current content's translations for search engines: Google
published in december a way to mark the translations of the current
content with HTML <link> tags. This change adds a viewlet in the
header section with this URLs. More information about Google's
suggestions:

http://googlewebmastercentral.blogspot.com/2011/12/new-markup-for-multilingual-content.html


These changes are in my current fork of LinguaPlone in GitHub, if
there's no objection I merge them into the trunk (or master or
whatever... I am not yet used to the github workflow... ;))


Best,


Mikel



--
Mikel Larreategi
[hidden email]

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Minor LinguaPlone changes

Ed Manlove-2
On 02/07/2012 09:58 AM, Mikel Larreategi wrote:

> Hi:
>
> I have a couple of changes to merge into LinguaPlone trunk, but I
> wanted to comment them here, in case someone has any objection:
>
> 1. Show the language list in "translate into" menu in its native form:
> Currently the menu shows the language names with its english name what
> is many times weird for users. Moreover the language change viewlet
> already shows the language name in its native form.
>

Mikel,

I think the language list under Site Setup->Language should have both
the language name within the current set langauge and its native tongue,
showing the format as

Language name in current language (native language)

For example, if the current language is English, the language setting
list should look like

...
French (français)
German (Deutsch)
Hebrew (עברית)
...

or if the current language is français,

...
anglais (English)
allemand (Deutsch)
hébreu (עברית)
...

or (to really make this clear) if the current langauge is עברית or Hebrew,

...
גרמנית (Deutsch)
אנגלית (English)
צרפתית (français)
...

This is the format for listing languages somewhere else within Plone (I
forget where, sorry). Showing it this way is extremely beneficial for
people working in multiple languages (including developers like myself
for which I do RTL script development) or people who simply accidentally
change the language. I brought this up a while back in the devel list
but did not pursue it further so thanks for taking up the task.

Ed


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Minor LinguaPlone changes

Mikel Larreategi
2012/2/7 Ed Manlove <[hidden email]>:

> On 02/07/2012 09:58 AM, Mikel Larreategi wrote:
>> Hi:
>>
>> I have a couple of changes to merge into LinguaPlone trunk, but I
>> wanted to comment them here, in case someone has any objection:
>>
>> 1. Show the language list in "translate into" menu in its native form:
>> Currently the menu shows the language names with its english name what
>> is many times weird for users. Moreover the language change viewlet
>> already shows the language name in its native form.
>>
>
> Mikel,
>
> I think the language list under Site Setup->Language should have both
> the language name within the current set langauge and its native tongue,
> showing the format as
>
> Language name in current language (native language)
>
> For example, if the current language is English, the language setting
> list should look like
>
> ...
> French (français)
> German (Deutsch)
> Hebrew (עברית)
> ...
>
> or if the current language is français,
>
> ...
> anglais (English)
> allemand (Deutsch)
> hébreu (עברית)
> ...
>
> or (to really make this clear) if the current langauge is עברית or Hebrew,
>
> ...
> גרמנית (Deutsch)
> אנגלית (English)
> צרפתית (français)
> ...
>
> This is the format for listing languages somewhere else within Plone (I
> forget where, sorry). Showing it this way is extremely beneficial for
> people working in multiple languages (including developers like myself
> for which I do RTL script development) or people who simply accidentally
> change the language. I brought this up a while back in the devel list
> but did not pursue it further so thanks for taking up the task.
>

AFAIK there is no language-name translation for all languages in
Plone, but I think it would be quite trivial to add the code to get
those names translated and then it's up to translators to translate
all language names :)

I'll have a look at it,.


Mikel

--
Mikel Larreategi
[hidden email]

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Minor LinguaPlone changes

Jean Jordaan
In reply to this post by Mikel Larreategi
> 1. Show the language list in "translate into" menu in its native form:
> Currently the menu shows the language names with its english name

Be careful with this. I struggle to switch Google back to English in
Thai internet cafes, because the list of languages is in Thai, which I
can't read.

Ed Manlove's suggestion (to show both forms) is good.

--
jean                                              . .. .... //\\\oo///\\

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Loading...