-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add multi-language support to the admin (Ability to add languages to admin) #10
Comments
It would be nice if you can manage different languages in the backend. |
With Neils help we are at the finish line of the lang switcher implementing, and Please Neil do not forgot to update the script with new version here and in the demo version on your site !! :)) Danke :) |
I know this issue is quite old, but are there any plans on multi-language support for the backend or is this abandoned? Seems like someone made some progress in this regard but didn't finish it. If I get some support, I would implement the feature Coaster fits all my needs for a Laravel CMS except multi-language support. EDIT: Now I'm confused: is this issue about having different languages in the admin backend or creating multilingual pages? |
@Paluschki It isn't too tricky actually, (it's not built in out of the box yet). See #25 The key is to add a new language in the database table The admin will then display a language switcher (https://github.com/Web-Feet/coasterframework/blob/f4ad185076d996cc80de928f2442368bffb34f37/src/Helpers/Admin/View/AdminMenu.php#L33) On the front end then you'll need to add a form that submits a way to set the language..
OR you may want to override the Coaster routes in
The
|
Also little bit more info here on building a form for a frontend switcher, and also url changing: And if you want to use the default language as a fallback for content you can set |
No description provided.
The text was updated successfully, but these errors were encountered: