Item14266: Error enabling internationalization and languages
Priority: Urgent
Current State: Closed
Released In: 2.1.3
Target Release: patch
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