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

multi language text or images instead of buttons in impromptu #77

Open
areeebah opened this issue Apr 26, 2016 · 1 comment
Open

multi language text or images instead of buttons in impromptu #77

areeebah opened this issue Apr 26, 2016 · 1 comment

Comments

@areeebah
Copy link

I need to use buttons for a multi language site,
any way to translate the text of buttons of impromptu into arabic and other languages?
or can i use images with english and arabic text for impromptu form ?

@trentrichardson
Copy link
Owner

You can define buttons with either

{ Ok: true, Cancel: false }

Or by passing an array of objects:

[
    { title: 'your translation 1', value: true },
    { title: 'your translation 2', value: false }
]

The second should allow you to apply translations easier.

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