Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fredrik Esseen 610 posts 906 karma points
    Aug 06, 2009 @ 11:46
    Fredrik Esseen
    0

    Changing the section images

    I want the names of the section to be in swedish so Im trying to find how to change that.

    Anyone?

  • Martijn Maris 37 posts 235 karma points MVP
    Aug 06, 2009 @ 11:54
    Martijn Maris
    1

    Hi Freud,

    First thing you have to do is add the Swedish language to Settings \ Languages. After that you can add this language to a User account. When you logout and login with the User account you have changed the language for you will see that everything is translated.

    But, if you only need the names of sections to appear in Swedish you can also only change the English language file. You will find the file in the folder umbraco\config\lang\en.xml. You need to change within <area alias="sections">.

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Aug 06, 2009 @ 12:22
    Peter Dijksterhuis
    0

    From the top of my head, there is something going on with scandinavian languages. By default, there is a no.xml and sv.xml file present in the umbraco/config/lang-folder.

    BUT, this is not enough if you want the language to be active. I think the solution here is to copy the sv.xml-file and name it se.xml

    Martijns option could work, but then you will loose the ability to show english titles to other users perhaphs.

    Peter

  • Fredrik Esseen 610 posts 906 karma points
    Aug 06, 2009 @ 12:47
    Fredrik Esseen
    0

    I dont think I was specific enough: The icons in the bottom with the sections is all in english eg: Content, Media Users etc..

    All other stuff is in swedish as it should be.

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Aug 06, 2009 @ 13:10
    Peter Dijksterhuis
    100

    Ah, makes sense. Should have read better ;)

    All text is in an image. You can find it at: umbraco/images/tray/traySprites.png

    HTH,

    Peter

  • Fredrik Esseen 610 posts 906 karma points
    Aug 06, 2009 @ 13:17
    Fredrik Esseen
    1

    Perfect!

    But it seems strange that the text should be in an image? Wouldnt it be better to put that in the language files?

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Aug 06, 2009 @ 13:22
    Peter Dijksterhuis
    0

    I agree with that, perhaphs you could post that on Codeplex as feature-request?

     

  • Fredrik Esseen 610 posts 906 karma points
    Aug 06, 2009 @ 13:35
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies