-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Handling sys_lanugage_uid in rest calls #46
Comments
There are different ways: a) Add |
Great, working with the Accept-Language header i like. Am i missing some setup ? May be to you have a working example? |
I've got only single language installations of REST at the moment. Could the problem have to do with https://forge.typo3.org/issues/57272 or does the localization work outside the REST extension? |
I will give it a try. Thank you very much! |
Okay, for domain objects it works, but the LocalizationUtility does not respect the language and show the default labels. The solution would be to add the following in the Bootstrap.php: `
` Can you please implement that ? Would be great ! Thank YOU! |
Hy! Sorry for the delay. I implemented the changes in eb40715. Can you have a look? |
Seems to work! |
@cundd : In which version have you included the fix ? I do not really find it in the repo. Thank you so much. |
It's only in the git Repository yet. In branch v4 |
It is more a question than an issue.
What is the best way to realize routes for getting objects in the localized way.
Calling for example a route /rest/getnews gives me all news objects for sys_language_uid = 0.
How do i get the localized objects?
I am looking forward for an answer.
By the way, i like your extension very much !!!!
The text was updated successfully, but these errors were encountered: