-
Notifications
You must be signed in to change notification settings - Fork 41
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
Pages are hardcoded to en
language
#2348
Comments
en
languageen
language
related to #1091 |
Project 908 on staging has some copies of the research page (url_key = 'science_case') that I've set up with language codes 'it' and 'es', but only the English version of that page ever comes back from |
That might be correct behaviour, by the way, but the translations app would need a method to get all translations of a page back from the API. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Found when debugging #2318, pages are hardcoded to
en
rather than set to the parent resource'sprimary_language
on create. https://github.com/zooniverse/Panoptes/blob/master/app/controllers/concerns/pages.rb#L48I think this may need to change to make translations work. Also, other linked resources like tutorials will need to be checked as they're also likely hardcoded to
en
right now.The text was updated successfully, but these errors were encountered: