Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Panel][FR] Translatable "custom locale set up" text #1897

Closed
afbora opened this issue Jul 3, 2019 · 1 comment

Comments

@afbora
Copy link

commented Jul 3, 2019

FireShot Capture 689 - Ayarlar - PixelShop - http___localhost_pixelshop_panel_settings

https://github.com/getkirby/kirby/blob/master/panel/src/components/Dialogs/LanguageUpdateDialog.vue#L32

You are using a custom locale set up. Please modify it in the language file in /site/languages

When language locale set as array[] like below, above non-translated text shows:

return [
    'code' => 'tr',
    'default' => true,
    'direction' => 'ltr',
    'locale' => [
        LC_COLLATE  => 'tr_TR.utf-8',
        LC_MONETARY => 'tr_TR.utf-8',
        LC_NUMERIC  => 'tr_TR.utf-8',
        LC_TIME     => 'tr_TR.utf-8',
        // LC_MESSAGES => 'tr_TR.utf-8',
        LC_CTYPE    => 'en_US.utf-8'
    ],
    'name' => 'Türkçe',
    'translations' => [],
    'url' => NULL
];
@bastianallgeier

This comment has been minimized.

Copy link
Contributor

commented Jul 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.