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
Translation / Multiple language of cognito hosted sign-in ui #1429
Comments
Hi! Same problem here. Working on a proof of concept for a while for a project involving a big AWS client in Chile, and the only problem stopping us from adopting Amazon Cognito is the current inability to customize Hosted UI's text so we can translate it to spanish. If there's any chance this feature could be included this month or the next, we could still be on track to using this service, which in any other aspect is working fine for us... please help! @yuntuowang |
Any updates on that? @yuntuowang @mlabieniec Only worried about translation after implemented the cognito auth component xD Any news you have about it would be great. |
This is now also a blocker for us :(. I can't believe that Amazon shipped a service that lacks many essential features. |
Hosted UI and validation-code-messages should be multi-language. Firebase got that but we want to stay with aws. Any update? |
This would need to be implemented in the Cognito service. Has any started a discussion on the AWS Forum for Amazon Cognito? |
There seems to be translation support, but I can not find any documentation of it: |
In a similar boat. Marketing wants to change the text on those dialogs. How is this not possible? |
Did someone has found how to translate Cognito hosted version? |
I have the same problem |
I have the same problem, any update from AWS? |
Same problem for me.. |
Feature status???? |
Same here, about to abandon due to the lack of translation. |
Same problem here, we need a german translation. |
A simple wrapper hosted in your domain can do it: `<?php $hosted_url = "https://.auth.us-east-1.amazoncognito.com/login? response_type=code&client_id=&redirect_uri="; // English echo str_ireplace($search,$replace,$html); |
You can also inject css into the customization boxes in the Cognito interface, which allows you to hide labels and add custom text in :before pseudo-elements, like this:
Funny how a service meant to keep our users safe allows you to do code injection… 🤔 Anyway any advancement on this feature would be very welcome. |
I would like to upvote this and also add that customisation is significantly easier using the CLI:
The docs unfortunately don't state the possibility to use a CSS-file, but the CLI supports it and it is way easier than modifying using the console. Given the CSS structure of Cognito's UI however it is not possible to replace texts as it is almost impossible to identify the fields using CSS and hack the text with CSS' ":after". I would love to be able to either add custom text to my cognito UI or use pre-existing translations. The translation is the last deal-breaker as Cognito otherwise is quite amazing. |
It seems that the approach from @AymericWilke doesn't work anymore. When I try inserting more CSS into a field and safe it, I get the following error:
Using the AWS CLI as suggested by @jankammerath we now get the same error message:
I don't want to do CSS Hacks in the first place. Amazon, why is it so difficult to change the text on the UI? |
I'd love to see my Hosted UI in PT-BR... |
Any updates on this? Is there anyway we can host it on our own static page and port the links over to the cognito arn? |
@wywarren We tried it but there is no way to get it working for certain scenarios. For example, if you want to use the UI to implement OAuth for a mobile App. There is no way to get the Code for the next step in the OAuth Code Grant flow. We just went with another hosted Service that offers more customization. |
Any updates on this? How hard would it be to provide simple translation on login forms... and we're talking about AWS not some guy in the basement working on some free-time project. |
Yes, I'm very surprised to know that there's no globalization!!! |
Can't believe they still haven't implemented this. Seriously, quite disappointed to see such an essential and simple request being ignored. |
Has anyone from AWS even replied with any idea when this will be done? or if they are even intending on doing it? Its almost like they prefer the Hosted UI not be used, and if this was the case, they should make it easier to replace (Amplify is OK but you would almost need to replicate the entire OAuth 2 server side of things session state etc) |
Hello we have provided feedback on this issue to the Cognito team. Please note that while Amplify leverages Cognito, it is an open source framework and not run by that service team. We recommend opening up official requests via AWS support tickets or the official AWS support forums. |
As stated from @undefobj above, Amplify leverages Cognito as we are an Open Source project separate from the service team. Please open a AWS Forums forum for Cognito as we, Amplify, don't have control over this implementation. Thanks! |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Do you want to request a feature or report a bug?
feature request
What is the current behavior?
What is the expected behavior?
N/A
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
N/A
The text was updated successfully, but these errors were encountered: