[Plone-i18n] Minor LinguaPlone changes

1 view
Skip to first unread message

Mikel Larreategi

unread,
Feb 7, 2012, 9:58:51 AM2/7/12
to plone-i18n plone-i18n
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
mlarr...@codesyntax.com

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
Plone...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n

Ed Manlove

unread,
Feb 7, 2012, 11:42:57 AM2/7/12
to Mikel Larreategi, plone-i18n plone-i18n
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

Mikel Larreategi

unread,
Feb 8, 2012, 2:06:21 AM2/8/12
to Ed Manlove, plone-i18n plone-i18n
2012/2/7 Ed Manlove <devP...@verizon.net>:

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
mlarr...@codesyntax.com

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

------------------------------------------------------------------------------

Jean Jordaan

unread,
Feb 8, 2012, 2:11:07 AM2/8/12
to Mikel Larreategi, plone-i18n plone-i18n
> 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///\\

Reply all
Reply to author
Forward
0 new messages