Tags:
create new tag
, view all tags

Question

I have a fresh install of Twiki and are now trying to set it up the way I want it. One of the first things I tried to get to work was internationalisation.

I read the documentation, and then went ahead. The server is running on an intranet and is going to contain documents in Danish, so I wanted to enable I18N. I enabled UserInterfaceInternationalisation, switched on Danish, changed {Site}{Locale} and {Site}{CharSet} to da_DK.ISO8859-1 and set {Site}{Lang} and {Site}{FullLang} to da-DK.

It took some testing to make it work, but now the interface is in Danish. I then went on to try and create a topic with a Danish character in its name, but then I got this error that I can figure out. It says:

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information. RCS: failed to create file pathÆ.lease: Invalid argument

I can create topics with Danish characters without problems. Twiki's error log says this:

| 10 Apr 2007 - 13:58 | RCS: failed to create file /[pathtotwiki]/twiki/data/Main/TestÆ.lease: Invalid argument at /[pathtotwiki]/twiki/lib/TWiki/Store/RcsFile.pm line 755.

I don't know where I did something wrong, but it must be me, because I can see that it should work.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Mac OS X 10.4.9 Server
Web server: Apache/1.3.33 (Darwin)
Perl version: 5.8.6
Client OS: Mac OS X 10.4.9
Web Browser: Safari 2.0.4, Firefox 2.0.0.2
Categories: Internationalisation

-- ReneFrejNielsen - 10 Apr 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

There are some conflicting documents in the Codev web for internationalization. The most up to date doc is InstallationWithI18N. See also other InternationalizationSupplement.

-- PeterThoeny - 12 May 2007

I had the same error with de_DE.ISO8859-15 on MacOSX. I wrote a small perl script and was able to confirm, that (at least on MacOSX) you are not able to create a file or directory on the filesystem itself with special characters from this locale. 'de_DE.UTF8' though worked fine for topics, but not for new webs (as twiki complaint about an illegal name).

-- StefanRadomski - 18 Jul 2007

 
Change status to:
Topic revision: r3 - 2007-07-18 - StefanRadomski
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.