The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Edit a language file: How do I enter special character?

Discussion in 'General Discussion' started by cyberdao, Mar 29, 2004.

  1. cyberdao

    cyberdao Member

    Joined:
    Aug 26, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    When I tranlsate a language file, how do I enter special characters like you have in German or French?

    Directly as I would in a text editor (ä) or do I use the HTML equivalent ( & a u m l ; ) (of course without the spcaes)?

    Thank you!
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    The safest is using html entities but both ways should work (at least Spanish accented characters work).
     
  3. cyberdao

    cyberdao Member

    Joined:
    Aug 26, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Yes, I noticed, that both versions work, just wondered, which solution is better.

    I believe, you are right, I'll go with the html version.

    Thanks!
     
  4. cyberdao

    cyberdao Member

    Joined:
    Aug 26, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Just noticed s.th else: It really does not matter how to write the special characters, because WHM will automatically convert all html characters into normal characters the 2nd time you save the edited language file.
     
  5. Kasper.S

    Kasper.S Member

    Joined:
    Feb 19, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Finland
    special characters like ä and ö

    Hello,

    I havent get ä,ö working. If i put 'ä' straightly or as a special character or 'ä' and save it, it is changed to ä in the file. What could be wrong, how to get ä.ö right?

    - Kasper.S
     
Loading...

Share This Page