-
Notifications
You must be signed in to change notification settings - Fork 12
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
Enable translation on Alert CT #134
Comments
Problem 2 The route matcher throws an error. |
This is a good idea, but here are some concerns Actually - enabling Drupal translation leads to a larger number of issues, because initially distribution was created with a - source in English + machine translation to any other language ( Google translate ), given the lack of resources Ys having for supporting multiple translations in a content |
this is merged: #136 |
Problem:
Enabling content translation for the Alert Content-Type does not ensure proper translation of an Alert. The React app fetches data from the "/alerts" URL without passing a language parameter, which means Drupal cannot determine which node translation to return.
Solution:
Modify the REST Resource "/alerts" to check for a language prefix in the request URL. If a language prefix is present, the service should load and return the content in the corresponding translated language.
The text was updated successfully, but these errors were encountered: