-
Notifications
You must be signed in to change notification settings - Fork 20
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
Translate feature Akvo Pages #1617
Comments
@loicsans we will need UX/UI work on how to deal with two sets of language pickers. |
The translation bar can now be enabled per RSR page basis. This includes a crude CSS tweak to make the translation bar and the RSR navbar happy. Could not find a way to support default langauges so this option is disabled in the admin. Since we want to implement default lanaguage option traces is left in the defaultLocaleMiddleware, but it's broken at the moment. This since it's difficult to know if a path is an i18n one or not.
Test plan: With the minimal test dataset & the following entry to /etc/hosts (local host computer) The Good deeds RSR page should be visible at gooddeeds.localakvoapp.org If one enable the Google translate bar in the admin and then RSR should display a Google dropdown top right. |
There are some styling issues, which @gabemart is looking into. |
[#1617] google translate CSS tweaks
@gabemart this might be the intended styling, but just double checking. With our own translation drop down the header looks like: However when I enable the google widget the top padding seems to ramp up quite a bit: |
@rumca Yup, that's intended. When you select a language in the Google Translate widget, it inserts a row above the page that we cannot control. Other than the current solution, we can't do much about it I'm afraid.. |
See akvo/akvo-product-design#106
To clarify:
Test plan
The text was updated successfully, but these errors were encountered: