Open phptest1112 opened 5 years ago
I have the same issue.
Not a bug, more a feature request.
To clarify: that language button purpose is to switch language for inputs, so that you can insert your translations while adding/editing BREAD records. The relationship data can't be translated there, it needs to be translated in it's own BREAD record.
If you want to change language globally (menu, labels, etc.) you need to change the language set in your profile or implement a button that does that.
@MrCrayon can you explain how to do it step by step? "If you want to change language globally (menu, labels, etc.) you need to change the language set in your profile or implement a button that does that."
If admin want to show all the items in selected "Locale" like menu, labels, buttons, records, error messages etc.. then how to do it?
Create your buttons with options from:
config('voyager.multilingual.locales')
make an ajax call to a method that you need to create in a controller that will change details fields in current user record and refresh the page.
Version information
Description
Multi language is not working with relationship data.
We have created relationship between 2 tables. when we go to edit page then relationship data is not show/translate as per selected language see the screenshots
Steps To Reproduce
Edit any relationship data
Expected behavior
All relationship data should be translate as per selected language
Screenshots
please see the screenshot
Additional context