missing language 'me' (montenegrin) after update to plone 4.2, linguaplone 4.1.3

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

missing language 'me' (montenegrin) after update to plone 4.2, linguaplone 4.1.3

Christian Ledermann
after update from plone 4.1.6 to 4.2.5
linguaplone LinguaPlone 4.1.1 to 4.1.3 i get:


KeyError(u'me',) (Also, the following error occurred while attempting
to render the standard error message, please see the event log for
full details: me)


Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 113, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 888, in do_useMacro
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: file:/home/ledermac/devel/plone42/buildout-cache/eggs/plonetheme.sunburst-1.2.8-py2.7.egg/plonetheme/sunburst/skins/sunburst_templates/main_template.pt
   - Line 62, Column 12
   - Expression: <StringExpr u'plone.portaltop'>
   - Names:
      {'args': (),
       'container': <PortletPage at /lss/welcome>,
       'context': <PortletPage at /lss/welcome>,
       'default': <object object at 0xb77057e8>,
       'here': <PortletPage at /lss/welcome>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping
object at 0x152e2f04>,
       'request': <HTTPRequest,
URL=http://localhost:50650/lss/welcome/two-columns>,
       'root': <Application at >,
       'template':
<Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
0xc0814ec>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <Products.Five.metaclass.TwoColumns object at 0x1535380c>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper
object at 0x1535302c>}
  Module zope.contentprovider.tales, line 80, in __call__
  Module plone.app.viewletmanager.manager, line 155, in render
  Module plone.app.viewletmanager.manager, line 86, in render
  Module zope.browserpage.simpleviewclass, line 44, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 113, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /home/ledermac/devel/plone42/buildout-cache/eggs/plone.app.layout-2.2.9-py2.7.egg/plone/app/layout/viewlets/portal_header.pt
   - Line 2, Column 4
   - Expression: <StringExpr u'plone.portalheader'>
   - Names:
      {'args': (),
       'container': <PortletPage at /lss/welcome>,
       'context': <PortletPage at /lss/welcome>,
       'default': <object object at 0xb77057e8>,
       'here': <PortletPage at /lss/welcome>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping
object at 0x152e2644>,
       'request': <HTTPRequest,
URL=http://localhost:50650/lss/welcome/two-columns>,
       'root': <Application at >,
       'template':
<Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
0xcba2ecc>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <Products.Five.viewlet.viewlet.SimpleViewletClass from
/home/ledermac/devel/plone42/buildout-cache/eggs/plone.app.layout-2.2.9-py2.7.egg/plone/app/layout/viewlets/portal_header.pt
object at 0x153533ec>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper
object at 0x153530ec>}
  Module zope.contentprovider.tales, line 80, in __call__
  Module plone.app.viewletmanager.manager, line 155, in render
  Module plone.app.viewletmanager.manager, line 86, in render
  Module zope.browserpage.simpleviewclass, line 44, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 113, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
   - URL: /home/ledermac/devel/plone42/buildout-cache/eggs/Products.LinguaPlone-4.1.3-py2.7.egg/Products/LinguaPlone/browser/selector.pt
   - Line 2, Column 0
   - Expression: <PathExpr standard:u'view/languages'>
   - Names:
      {'args': (),
       'container': <PortletPage at /lss/welcome>,
       'context': <PortletPage at /lss/welcome>,
       'default': <object object at 0xb77057e8>,
       'here': <PortletPage at /lss/welcome>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping
object at 0x152e2dc4>,
       'request': <HTTPRequest,
URL=http://localhost:50650/lss/welcome/two-columns>,
       'root': <Application at >,
       'template':
<Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
0xc4f3e6c>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <Products.Five.viewlet.viewlet.SimpleViewletClass from
/home/ledermac/devel/plone42/buildout-cache/eggs/Products.LinguaPlone-4.1.3-py2.7.egg/Products/LinguaPlone/browser/selector.pt
object at 0x1535364c>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper
object at 0x15348fac>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 155, in _eval
  Module Products.PageTemplates.Expressions, line 117, in render
  Module Products.LinguaPlone.browser.selector, line 112, in languages
  Module plone.app.i18n.locales.browser.selector, line 127, in languages
  Module Products.PloneLanguageTool.LanguageTool, line 246, in
getAvailableLanguageInformation
  Module Products.LinguaPlone.vocabulary, line 39, in getLanguages
KeyError: u'me'
> /home/ledermac/devel/plone42/buildout-cache/eggs/Products.LinguaPlone-4.1.3-py2.7.egg/Products/LinguaPlone/vocabulary.py(39)getLanguages()
     38             for s in supported:
---> 39                 new_langs[s] = langs[s]
     40             langs = new_langs


>>> langs.keys()
[u'gv', u'gu', u'gd', u'ga', u'gn', u'gl', u'lg', u'lb', u'ty', u'ln',
u'tw', u'tt', u'tr', u'ts', u'li', u'tn', u'to', u'tl', u'lu', u'tk',
u'th', u'ti', u'tg', u'as', u'te', u'ta', u'yi', u'yo', u'de', u'ko',
u'da', u'dz', u'dv', u'qu', u'kn', u'lv', u'el', u'eo', u'en', u'zh',
u'ee', u'za', u'uk', u'eu', u'zu', u'es', u'ru', u'rw', u'kl', u'rm',
u'rn', u'ro', u'bn', u'be', u'bg', u'ba', u'wa', u'wo', u'bm', u'jv',
u'bo', u'bh', u'bi', u'br', u'bs', u'ja', u'om', u'oj', u'la', u'oc',
u'kj', u'lo', u'os', u'or', u'xh', u'ch', u'co', u'ca', u'ce', u'cy',
u'cs', u'cr', u'cv', u'cu', u'ps', u'pt', u'lt', u'pa', u'pi', u'ak',
u'pl', u'hz', u'hy', u'an', u'hr', u'am', u'ht', u'hu', u'hi', u'ho',
u'ha', u'he', u'mg', u'uz', u'ml', u'mo', u'mn', u'mi', u'mh', u'mk',
u'ur', u'mt', u'ms', u'mr', u'ug', u'my', u'ki', u'aa', u'ab', u'ae',
u've', u'af', u'vi', u'is', u'vk', u'iu', u'it', u'vo', u'ii', u'ay',
u'ik', u'ar', u'km', u'io', u'et', u'ia', u'az', u'ie', u'id', u'ig',
u'ks', u'nl', u'nn', u'no', u'na', u'nb', u'nd', u'ne', u'ng', u'ny',
u'kw', u'nr', u'nv', u'kv', u'fr', u'ku', u'fy', u'fa', u'kk', u'ff',
u'fi', u'fj', u'ky', u'fo', u'ka', u'kg', u'ss', u'sr', u'sq', u'sw',
u'sv', u'su', u'st', u'sk', u'kr', u'si', u'sh', u'so', u'sn', u'sm',
u'sl', u'sc', u'sa', u'sg', u'se', u'sd']


so it seems that montenegrin was removed from  languages.

Q: why was it removed, afaik the language still exists?

How can I patch this?


--
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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

Re: missing language 'me' (montenegrin) after update to plone 4.2, linguaplone 4.1.3

Christian Ledermann
btw:

the links still point to the wrong locations:

Home page: http://plone.org/products/linguaplone
Issue tracker: http://plone.org/products/linguaplone/issues
Code repository: https://svn.plone.org/svn/plone/Products.LinguaPlone/trunk
Mailing list: https://lists.sourceforge.net/lists/listinfo/plone-i18n

the issuetracker on http://plone.org/products/linguaplone/issues throws:

METALError: macro nesting limit (100) exceeded by
u'support/macros/wysiwygEditorBox'

when you try to add a new issue

where is the right tracker  for linguaplone?




On Tue, Jun 11, 2013 at 4:41 PM, Christian Ledermann
<[hidden email]> wrote:

> after update from plone 4.1.6 to 4.2.5
> linguaplone LinguaPlone 4.1.1 to 4.1.3 i get:
>
>
> KeyError(u'me',) (Also, the following error occurred while attempting
> to render the standard error message, please see the event log for
> full details: me)
>
>
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 126, in publish
>   Module ZPublisher.mapply, line 77, in mapply
>   Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
>   Module ZPublisher.Publish, line 46, in call_object
>   Module Products.Five.browser.pagetemplatefile, line 125, in __call__
>   Module Products.Five.browser.pagetemplatefile, line 59, in __call__
>   Module zope.pagetemplate.pagetemplate, line 113, in pt_render
>   Module zope.tal.talinterpreter, line 271, in __call__
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 888, in do_useMacro
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 852, in do_condition
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 531, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
>   Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
>   Module zope.tales.tales, line 696, in evaluate
>    - URL: file:/home/ledermac/devel/plone42/buildout-cache/eggs/plonetheme.sunburst-1.2.8-py2.7.egg/plonetheme/sunburst/skins/sunburst_templates/main_template.pt
>    - Line 62, Column 12
>    - Expression: <StringExpr u'plone.portaltop'>
>    - Names:
>       {'args': (),
>        'container': <PortletPage at /lss/welcome>,
>        'context': <PortletPage at /lss/welcome>,
>        'default': <object object at 0xb77057e8>,
>        'here': <PortletPage at /lss/welcome>,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': <Products.PageTemplates.Expressions.SafeMapping
> object at 0x152e2f04>,
>        'request': <HTTPRequest,
> URL=http://localhost:50650/lss/welcome/two-columns>,
>        'root': <Application at >,
>        'template':
> <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
> 0xc0814ec>,
>        'traverse_subpath': [],
>        'user': <PropertiedUser 'admin'>,
>        'view': <Products.Five.metaclass.TwoColumns object at 0x1535380c>,
>        'views': <Products.Five.browser.pagetemplatefile.ViewMapper
> object at 0x1535302c>}
>   Module zope.contentprovider.tales, line 80, in __call__
>   Module plone.app.viewletmanager.manager, line 155, in render
>   Module plone.app.viewletmanager.manager, line 86, in render
>   Module zope.browserpage.simpleviewclass, line 44, in __call__
>   Module Products.Five.browser.pagetemplatefile, line 125, in __call__
>   Module Products.Five.browser.pagetemplatefile, line 59, in __call__
>   Module zope.pagetemplate.pagetemplate, line 113, in pt_render
>   Module zope.tal.talinterpreter, line 271, in __call__
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 531, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
>   Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
>   Module zope.tales.tales, line 696, in evaluate
>    - URL: /home/ledermac/devel/plone42/buildout-cache/eggs/plone.app.layout-2.2.9-py2.7.egg/plone/app/layout/viewlets/portal_header.pt
>    - Line 2, Column 4
>    - Expression: <StringExpr u'plone.portalheader'>
>    - Names:
>       {'args': (),
>        'container': <PortletPage at /lss/welcome>,
>        'context': <PortletPage at /lss/welcome>,
>        'default': <object object at 0xb77057e8>,
>        'here': <PortletPage at /lss/welcome>,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': <Products.PageTemplates.Expressions.SafeMapping
> object at 0x152e2644>,
>        'request': <HTTPRequest,
> URL=http://localhost:50650/lss/welcome/two-columns>,
>        'root': <Application at >,
>        'template':
> <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
> 0xcba2ecc>,
>        'traverse_subpath': [],
>        'user': <PropertiedUser 'admin'>,
>        'view': <Products.Five.viewlet.viewlet.SimpleViewletClass from
> /home/ledermac/devel/plone42/buildout-cache/eggs/plone.app.layout-2.2.9-py2.7.egg/plone/app/layout/viewlets/portal_header.pt
> object at 0x153533ec>,
>        'views': <Products.Five.browser.pagetemplatefile.ViewMapper
> object at 0x153530ec>}
>   Module zope.contentprovider.tales, line 80, in __call__
>   Module plone.app.viewletmanager.manager, line 155, in render
>   Module plone.app.viewletmanager.manager, line 86, in render
>   Module zope.browserpage.simpleviewclass, line 44, in __call__
>   Module Products.Five.browser.pagetemplatefile, line 125, in __call__
>   Module Products.Five.browser.pagetemplatefile, line 59, in __call__
>   Module zope.pagetemplate.pagetemplate, line 113, in pt_render
>   Module zope.tal.talinterpreter, line 271, in __call__
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 852, in do_condition
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
>   Module zope.tales.tales, line 696, in evaluate
>    - URL: /home/ledermac/devel/plone42/buildout-cache/eggs/Products.LinguaPlone-4.1.3-py2.7.egg/Products/LinguaPlone/browser/selector.pt
>    - Line 2, Column 0
>    - Expression: <PathExpr standard:u'view/languages'>
>    - Names:
>       {'args': (),
>        'container': <PortletPage at /lss/welcome>,
>        'context': <PortletPage at /lss/welcome>,
>        'default': <object object at 0xb77057e8>,
>        'here': <PortletPage at /lss/welcome>,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': <Products.PageTemplates.Expressions.SafeMapping
> object at 0x152e2dc4>,
>        'request': <HTTPRequest,
> URL=http://localhost:50650/lss/welcome/two-columns>,
>        'root': <Application at >,
>        'template':
> <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
> 0xc4f3e6c>,
>        'traverse_subpath': [],
>        'user': <PropertiedUser 'admin'>,
>        'view': <Products.Five.viewlet.viewlet.SimpleViewletClass from
> /home/ledermac/devel/plone42/buildout-cache/eggs/Products.LinguaPlone-4.1.3-py2.7.egg/Products/LinguaPlone/browser/selector.pt
> object at 0x1535364c>,
>        'views': <Products.Five.browser.pagetemplatefile.ViewMapper
> object at 0x15348fac>}
>   Module zope.tales.expressions, line 217, in __call__
>   Module Products.PageTemplates.Expressions, line 155, in _eval
>   Module Products.PageTemplates.Expressions, line 117, in render
>   Module Products.LinguaPlone.browser.selector, line 112, in languages
>   Module plone.app.i18n.locales.browser.selector, line 127, in languages
>   Module Products.PloneLanguageTool.LanguageTool, line 246, in
> getAvailableLanguageInformation
>   Module Products.LinguaPlone.vocabulary, line 39, in getLanguages
> KeyError: u'me'
>> /home/ledermac/devel/plone42/buildout-cache/eggs/Products.LinguaPlone-4.1.3-py2.7.egg/Products/LinguaPlone/vocabulary.py(39)getLanguages()
>      38             for s in supported:
> ---> 39                 new_langs[s] = langs[s]
>      40             langs = new_langs
>
>
>>>> langs.keys()
> [u'gv', u'gu', u'gd', u'ga', u'gn', u'gl', u'lg', u'lb', u'ty', u'ln',
> u'tw', u'tt', u'tr', u'ts', u'li', u'tn', u'to', u'tl', u'lu', u'tk',
> u'th', u'ti', u'tg', u'as', u'te', u'ta', u'yi', u'yo', u'de', u'ko',
> u'da', u'dz', u'dv', u'qu', u'kn', u'lv', u'el', u'eo', u'en', u'zh',
> u'ee', u'za', u'uk', u'eu', u'zu', u'es', u'ru', u'rw', u'kl', u'rm',
> u'rn', u'ro', u'bn', u'be', u'bg', u'ba', u'wa', u'wo', u'bm', u'jv',
> u'bo', u'bh', u'bi', u'br', u'bs', u'ja', u'om', u'oj', u'la', u'oc',
> u'kj', u'lo', u'os', u'or', u'xh', u'ch', u'co', u'ca', u'ce', u'cy',
> u'cs', u'cr', u'cv', u'cu', u'ps', u'pt', u'lt', u'pa', u'pi', u'ak',
> u'pl', u'hz', u'hy', u'an', u'hr', u'am', u'ht', u'hu', u'hi', u'ho',
> u'ha', u'he', u'mg', u'uz', u'ml', u'mo', u'mn', u'mi', u'mh', u'mk',
> u'ur', u'mt', u'ms', u'mr', u'ug', u'my', u'ki', u'aa', u'ab', u'ae',
> u've', u'af', u'vi', u'is', u'vk', u'iu', u'it', u'vo', u'ii', u'ay',
> u'ik', u'ar', u'km', u'io', u'et', u'ia', u'az', u'ie', u'id', u'ig',
> u'ks', u'nl', u'nn', u'no', u'na', u'nb', u'nd', u'ne', u'ng', u'ny',
> u'kw', u'nr', u'nv', u'kv', u'fr', u'ku', u'fy', u'fa', u'kk', u'ff',
> u'fi', u'fj', u'ky', u'fo', u'ka', u'kg', u'ss', u'sr', u'sq', u'sw',
> u'sv', u'su', u'st', u'sk', u'kr', u'si', u'sh', u'so', u'sn', u'sm',
> u'sl', u'sc', u'sa', u'sg', u'se', u'sd']
>
>
> so it seems that montenegrin was removed from  languages.
>
> Q: why was it removed, afaik the language still exists?
>
> How can I patch this?
>
>
> --
> Best Regards,
>
> Christian Ledermann
>
> Nairobi - Kenya
> Mobile : +254 702978914
>
> <*)))>{
>
> If you save the living environment, the biodiversity that we have left,
> you will also automatically save the physical environment, too. But If
> you only save the physical environment, you will ultimately lose both.
>
> 1) Don’t drive species to extinction
>
> 2) Don’t destroy a habitat that species rely on.
>
> 3) Don’t change the climate in ways that will result in the above.
>
> }<(((*>



--
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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

Re: missing language 'me' (montenegrin) after update to plone 4.2, linguaplone 4.1.3

Christian Ledermann
In reply to this post by Christian Ledermann
On Tue, Jun 11, 2013 at 4:41 PM, Christian Ledermann
<[hidden email]> wrote:
> after update from plone 4.1.6 to 4.2.5
> linguaplone LinguaPlone 4.1.1 to 4.1.3 i get:
>
>
> KeyError(u'me',) (Also, the following error occurred while attempting
> to render the standard error message, please see the event log for
> full details: me)

http://en.wikipedia.org/wiki/Montenegrin_language

>
> so it seems that montenegrin was removed from  languages.
>

"""Removed invalid me language code added in 2007. me is only a country """

https://github.com/plone/plone.i18n/commit/9d3559725797f7a744f4f5808fb73320daac8c5b


>
> How can I patch this?

just for the record:

from plone.i18n.locales.languages import _languagelist

_languagelist[u'me'] = {u'native' : 'Crnogorski jezik', u'name' : 'Montenegrin'}



--
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Loading...