You are here: Foswiki>Tasks Web>Item14266 (18 Feb 2017, 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
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
 

ItemTemplate edit

Summary Error enabling internationalization and languages
ReportedBy MichaelDaum
Codebase 2.1.3 beta1, 2.1.2
SVN Range
AppliesTo Engine
Component Configure, I18N
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:aed1dc434a85 distro:dc9eb0e10ae3
TargetRelease patch
ReleasedIn 2.1.3
CheckinsOnBranches Release02x01 master
trunkCheckins
masterCheckins distro:aed1dc434a85 distro:dc9eb0e10ae3
ItemBranchCheckins
Release02x01Checkins distro:aed1dc434a85
Release02x00Checkins
Release01x01Checkins
Topic revision: r4 - 18 Feb 2017, GeorgeClark - This page was cached on 25 May 2017 - 15:09.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License