cms icon indicating copy to clipboard operation
cms copied to clipboard

Translation not consistent

Open MrMooky opened this issue 3 years ago • 5 comments

Bug description

My app locale is set to "de", fallback is "de" as well. I usually go blindly through the backend but today I noticed, that there are both German (DE) and English default texts. The HTML lang is correctly set to de and some parts of the backend are German some are not. I've never noticed that before.

When I set the locale to "en", everything is English as it should be.

Screenshot 2022-07-14 at 15 38 01

How to reproduce

Don't know. Have just set the variables in app.php.

Logs

No response

Versions

Statamic 3.3.20 Pro Laravel 9.20.0 PHP 8.1.4 jonassiewertsen/statamic-livewire 2.9.0 octoper/statamic-blade-components 2.0.0

Installation

Existing Laravel app

Antlers Parser

runtime (new)

Additional details

No response

MrMooky avatar Jul 14 '22 13:07 MrMooky

How are you setting your locale?

jasonvarga avatar Jul 14 '22 14:07 jasonvarga

In my app.php I just do this:

'locale' => 'de',

'fallback_locale' => 'de',

MrMooky avatar Jul 14 '22 14:07 MrMooky

I have the same thing, and I see this:

CleanShot 2022-07-14 at 10 34 51

🤔

jasonvarga avatar Jul 14 '22 14:07 jasonvarga

Really odd. Here it is a weird mix of both... It's not a major bug or anything so feel free to close it as it must be somewhere on my end then. I'll try to recreate this in a blank app and if possible, share the repository.

Screenshot 2022-07-14 at 17 57 59

MrMooky avatar Jul 14 '22 16:07 MrMooky

That would be ideal. Thanks!

jasonvarga avatar Jul 14 '22 17:07 jasonvarga