+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 25 of 25

Thread: DekiWiki Translation

  1. #21
    Join Date
    Sep 2007
    Location
    's-Hertogenbosch - Netherlands
    Posts
    36

    Default

    Hi there,
    i am busy translating to Dutch. I have got the latest version installed (1.8.2 hayes)
    I gues only the recources.txt file has to be translated??
    Is er nog een Nederlander hiermee aan de gang?? dan kunnen we het werk verdelen.
    I am doing this in my spare time so it wil go slow.

  2. #22
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    Yes, "resources.txt" is the only file that needs to be translated. However, there are a few places in the interface that are still not translatable. We're working on finding them and adding them to resources.txt. So, if you see something that you can't translate, don't wreck your head over it.

    Good luck on the translation. I'm sure many will appreciate it!
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  3. #23

    Thumbs up German translation with "umlauts"

    Hello,

    i have an idea for people having the same problem like me.

    I have installed Deki Wiki with the downloaded VMWare Image.
    But after putting the resources.de-de.txt with WinSCP onto the Server, the "Umlauts" weren't correctly displayed.
    Then I first TARed (or zip) the txt file, transferred it, and then UNTARed it.
    => works fine for me

    Greets

    Tobias

  4. #24
    Join Date
    Aug 2007
    Location
    Dresden (Germany)
    Posts
    48

    Thumbs up

    I had the same problem ...
    after some minutes of searching for a solution i just changed Line 368 of the Language.php to

    PHP Code:
    return utf8_encode(@$wgAllMessagesEn[$key]); 
    worked fine for me ...
    but next time i will try your idea thx
    Last edited by RBF; 10-02-2007 at 08:41 AM.

  5. #25
    Join Date
    Feb 2007
    Posts
    1,871

    Default

    This is not a highly recommend solution - I prefer heilmannseder's solution.

    The issue is that somewhere while transferring, you're loading the resources file into an environment where the UTF-8 gets converted to latin-1 (that's why utf8_encode() works.

    I would try to figure out why that's happening, rather than assuming your resources file is corrupted

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts