Skip to content
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

Possibility to override wording #400

Closed
BartlomiejSopalaKarhoo opened this issue Mar 7, 2023 · 3 comments
Closed

Possibility to override wording #400

BartlomiejSopalaKarhoo opened this issue Mar 7, 2023 · 3 comments

Comments

@BartlomiejSopalaKarhoo
Copy link

BartlomiejSopalaKarhoo commented Mar 7, 2023

Is your feature request related to a problem? Please describe.
For some languages UI of drop in is not perfect, i.e. for french (navigation bar):
IMG_3941

I would like to know if there is a way to override wordings in your drop-in?
I found this method setCustomTranslations: https://braintree.github.io/braintree-ios-drop-in/current/Classes/BTDropInLocalization.html
but don't know if it was designed for that reason and how to use it.

Regards,
Bartek

@KunJeongPark
Copy link
Contributor

Hello @BartlomiejSopalaKarhoo,
Thank you for using Braintree SDK. Are there particular phrases that are inaccurate? setCustomTranslations() function is for adding new languages, not editing existing localizations.

@BartlomiejSopalaKarhoo
Copy link
Author

Hi @KunJeongPark. As you can see at attached screen if words in navigation bar were shorter it would looks way nicer. This is only example. So there is no other way to override wording?

@KunJeongPark
Copy link
Contributor

KunJeongPark commented Mar 8, 2023

Hello @BartlomiejSopalaKarhoo,

Thank you for that additional information. The only way you can modify the translation is to fork our repository from gitHub and modify the files yourself. We have created a ticket to improve appearance of the navigation bar with longer texts.

We don’t have capacity to do this at the moment but here is the internal ticket number for the issue created if you want to track the progress with our support team: DTBTSDK-2487

Thank you again for bringing this to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants