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

Localization for placeholder #1

Open
mahmoudibra opened this issue Jun 3, 2020 · 1 comment
Open

Localization for placeholder #1

mahmoudibra opened this issue Jun 3, 2020 · 1 comment

Comments

@mahmoudibra
Copy link

How should i localize the placeholder to multiple language if the placeholder field isn't from LocalizedStringKey class ?

@gitpushdev
Copy link

Have you tried using something like this:

FloatingLabelTextField($email, 
placeholder: NSLocalizedString("label_password", comment: ""),
editingChanged: { (isChanged) in

                        }) {

                        }

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

2 participants