Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » 2.3: Language mix in admin area

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3
Go to End
Author Topic: 4182 Views
  • wagnerma
    Avatar
    Community Member
    12 Posts

    2.3: Language mix in admin area Link to this post

    I have changed the admin language from en to de. On my local system, all is fine, but at the live system at the webhoster, the admin area consists of a language mix of english and german translations. Reinstalling/Flushing/Rebuilding always the same picture, a nice mixture of both languages in the admin area. The same with other languages, and also the same fields, that are not translated. For example the top navigation bar with Site Content,Files & Images,Comments,Security, Help never changes to the selected language.

    Any ideas what's wrong? Seems like a bug?

    Thanks for the help,

    Marcel

  • Ultimate
    Avatar
    Community Member
    18 Posts

    Re: 2.3: Language mix in admin area Link to this post

    Same problem here. And there is another oddity, though I dont't know if it has anything to do with the mixture-problem. When I'm setting the CMS-language in the profile-window the OK-button has no caption and is just blank. Clicking this no-captioned button SS opens the home page inside the profile window. really strange.

    Attached Files
  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: 2.3: Language mix in admin area Link to this post

    Hm, can't reproduce on a 2.3 installation in live mode when switching CMS to german in my profile. Can you confirm that your Member record in the database has the correct "Locale" setting? Do you have the files cms/lang/de_DE.php and sapphire/lang/de_DE.php in your live installation? Perhaps its a case-sensitivity issue?

  • wagnerma
    Avatar
    Community Member
    12 Posts

    Re: 2.3: Language mix in admin area Link to this post

    Checked all, member record has the correct language setting 'de_DE' and the files have no case sensitive problems. It also doesn't depend on a specific language (in my case german), same in other languages. The files are all found and used. Some words are translated correct, for example in the member panel, the table heads are 'Firstname','Nachame','Email','Password'. Strange?

    And same here, when editing a member record, the "Ok" Button has also no text and so is very small.

    Is silverstripe using a language information from the operating system it is runnig on? My live system is running on an english system, my developer machine is german, where I don't see the problem?

    Any other things I can check?

    Thanks,

    Marcel

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: 2.3: Language mix in admin area Link to this post

    The backend locale is determined by your profile (/admin/myprofile), and falls back to the default en_US.
    I just tried again, the table headers in /admin/security work fine for me in German on a 2.3 install - its a bit of a mystery...
    particularly the "partially missing" translations - I mean, either the $lang array is loaded from the locale file or it isnt...very strange.
    What OS, browser and server environment are you running on?

  • wagnerma
    Avatar
    Community Member
    12 Posts

    Re: 2.3: Language mix in admin area Link to this post

    Indeed very strange, I see nothing wrong ;-(

    The server env: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 PHP/5.2.8
    The Client: Firefox 3.0.7/IE7 on Windows XP SP3

    My local server env: Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8

    There is all right, my live server do it wrong ;-(

    You can also see the problem on the live site:

    http://www.wagnerecht.de/www/admin

    There you see the language mix in the admin login dialog, all is german, one sentence is english. On my developer pc all is german ;-(

    Any other ideas ??

    Thanks a lot for your feedback!

    Marcel

  • janulka
    Avatar
    Community Member
    80 Posts

    Re: 2.3: Language mix in admin area Link to this post

    subscr.

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: 2.3: Language mix in admin area Link to this post

    Tested the login box on a clean 2.3 install with i18n::set_locale('de_DE'); in mysite/_config.php, worked out fine, meaning I see the german text in Security/login. Wagnerma, please try a new 2.3 with only this _config.php addition to rule out any setup errors.

    4182 Views
Page: 1 2 3
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.