Jump to:

4873 Posts in 7242 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Changing backend language fails on windows with 2.3.1

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 1149 Views
  • Stephan
    Avatar
    Community Member
    55 Posts

    Changing backend language fails on windows with 2.3.1 Link to this post

    Hi experts,
    I downloaded your brand new 2.3.1 and hoped that this will solve my problems with the backend language.
    But it still doesn't work.
    This is bad, as the docs now say SS should work with IIS 5.1 and greater.
    I do have IIS6.
    Everything else is working just fine.
    But when I want to log in with an admin with default language = german I do get the following error
    (this was also the case with 2.3.0)

    [Warning] array_merge() [function.array-merge]: Argument #1 is not an array
    GET /admin/security/
    Line 14 in C:\inetpub\kunden\silverstripees\wwwroot\sapphire\lang\de_DE.php

    Source
    5 * @package sapphire
    6 * @subpackage i18n
    7 */
    8
    9 i18n::include_locale_file('sapphire', 'en_US');
    10
    11 global $lang;
    12
    13 if(array_key_exists('de_DE', $lang) && is_array($lang['de_DE'])) {
    14    $lang['de_DE'] = array_merge($lang['en_US'], $lang['de_DE']);
    15 } else {
    16    $lang['de_DE'] = $lang['en_US'];
    17 }
    18
    19 $lang['de_DE']['AdvancedSearchForm']['ALLWORDS'] = 'Alle Wörter';
    20 $lang['de_DE']['AdvancedSearchForm']['ATLEAST'] = 'Wenigstens eines dieser Wörter';

    TIA Stephan

  • Stephan
    Avatar
    Community Member
    55 Posts

    Re: Changing backend language fails on windows with 2.3.1 Link to this post

    Can please someone take care of this issue ?
    It is really frustrating.
    Everything else is working perfect with Silverstripe, also all of the modules I have tested are working great.
    This is the only issue which doesn't work with IIS 6

    I do need at least a hint where to look in the code.

    TIA Stephan

    1149 Views
Page: 1
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.