You are here: Foswiki>Tasks Web>Item14266 (31 Jan 2018, GeorgeClark)Edit Attach

Item14266: Error enabling internationalization and languages

pencil
Priority: Urgent
Current State: Closed
Released In: 2.1.3
Target Release: patch
Applies To: Engine
Component: Configure, I18N
Branches: Release02x01 master Item14380 Item14537
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
When foswiki starts with a disabled {UseInterfaceInternationalisation}, a stub instance of Foswiki::I18n is created that does not inherit from Locale::Maketext. As a consequence it also does not implement get_handle.

An error occurs now when you start configure, enable {UseInterfaceInternationalisation} ... and then click on any of the unselected languages, let's say Bulgarian.

An error will be displayed saying:

Can't locate object method "get_handle" via package "Foswiki::I18N"

due to Foswiki::I18N not being based no =Locale::Maketext during startup. I am not sure whether this error manifests in old school CGI, It does so on a persistent perl environment for obvious reasons.

Not sure how to fix this.

-- MichaelDaum - 16 Jan 2017

Confirmed. On fcgi system, you cannot enable languages after initially enabling Internationalization.

-- GeorgeClark - 16 Jan 2017
 
Topic revision: r6 - 31 Jan 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy