Tags:
create new tag
view all tags

SID-02241: Language pt_BR

Status: Answered Answered TWiki version: 6.0.2 Perl version: - don't know -
Category: CategoryInternationalization Server OS: CentOS Last update: 9 years ago

Hi,

I am trying to configure twiki to portuguese/Brazil (pt_BR).

I tried: $TWiki::cfg{Site}{Locale} = 'pt_BR.utf8'; $TWiki::cfg{Site}{LocaleRegexes} = 1; $TWiki::cfg{Site}{Lang} = 'pt_BR'; $TWiki::cfg{Site}{FullLang} = 'pt';

But it doesn´t work. I tried to change for other languages (fr, for example), and it doesn´t work either.

What I am doing wrong? Should I change some other configuration?

I am using TwikiVM -6.0.1-1

Thanks

-- Marcelo RiveraSilva - 2016-08-16

Discussion and Answer

I guess you missed to activate {UserInterfaceInternationalisation} ? It is the very first item under the "Localisation" heading.

To quote from configure:

Note: for user interface internationalization, the only settings that matter are {UserInterfaceInternationalisation}, which enables user interface internationalisation, and {Site}{CharSet}, which controls which charset TWiki will use for storing topics and displaying content for the users. As soon as {UserInterfaceInternationalisation} is set and the required (Locale::Maketext::Lexicon and Encode / MapUTF8 Perl modules) are installed (see the CGI Setup section above), the multi-language user interface will just work.

-- Harald Jörg - 2016-08-16

Work in Twiki VM, but dosen't work in twiki personal.

TwikiPersonal not support this method?

Now i using twiki personal, for test...

-- Marcelo RiveraSilva - 2016-08-19

Erm.... (looking embarassed to the floor) I admit that I've never tested this setting in TWikiPersonal. You are correct, it doesn't work - but that's a bug and not a feature. The automatic detection for Perl dependencies fails for all "optional" modules, in this case Locale::Maketext::Lexicon (I bet you find entries in your personal TWiki's data/warn201608.txt file).

I'll look into it during the weekend. Maybe the fix is just to add a few (more) modules to the package, then I'll upload a new version in the next days.

-- Harald Jörg - 2016-08-19

Done: https://sourceforge.net/projects/twiki/files/TWiki-Personal/TWiki-Personal-Win-6.0.3-alpha.zip/download It turned out to be not too difficult - just adding a couple of modules seemed to be sufficient to get it working. Thanks for the feedback!

-- Harald Jörg - 2016-08-20

Thanks! I will try.

-- Marcelo RiveraSilva - 2016-08-22

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Language pt_BR
SupportCategory CategoryInternationalization
TWiki version 6.0.2
Server OS CentOS
Web server Apache 2,2,15
Perl version - don't know -
Browser & version Chrome 52.0
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2016-08-22 - MarceloRiveraSilva
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.