How do you manage default locale in Multilanguage admins? #1144
Replies: 2 comments 4 replies
-
Hi @adriallongarriu , This is why I always try to delay adding multi-language to a project. Clients think "oh it'll be easy, we'll have everything translated" but the reality is... they won't. They will have some things translated, some not. I understand the need to only show the things that are translated. And you CAN do that, if you want, by using custom queries in your app. I wouldn't do that. I would just show them in the default language, when they don't have that translation. It's shitty... but... at least it preserves data integrity. I don't see this as a Backpack problem per-se... it's an admin problem... they aren't dilligent enough to translate everything. But if you want to make it easier for them to spot which entities are NOT completely translated, perhaps you can create a custom column... for |
Beta Was this translation helpful? Give feedback.
-
Hey @adriallongarriu what version of backpack are you using ? I think recently (v6.7.x) we introduced the ability for you to add
Let me know if that helps. Cheers |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a website with 3 locales. One a new entry is created in the admin for example an Article it is created in the current locale and after i can edit and create the content in other locales and the fields like title or content, the translatable fields, are preload with the content of first locale.
But if i use
Laravel-Backpack/language-switcher
the user can select a locale which is not the default. For this reason when creating the subsequent entries of the same article the fields are blank puls in the front the content is only in one locale and the rest does not show anything. For this reason, the content is not displayed consistently as it varies depending on the language used by the user.Ho do you manage this case?
Beta Was this translation helpful? Give feedback.
All reactions