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

Translation for BSInlineQuestion #286

Open
meister-d opened this issue May 16, 2017 · 0 comments
Open

Translation for BSInlineQuestion #286

meister-d opened this issue May 16, 2017 · 0 comments

Comments

@meister-d
Copy link

Hi BForms Team,

What would be the Best Way to Have this Buttons Translated?
We want to run the Forms on a multi language System so we need to have translation strings in German, French, Italian for Yes, No , Are you Sure?

Is there some example on how to manage the translations?
I thought something like i18n would be great. I guess the new created files then would be included via RequireJs to be usable from the inlineQuestion Code.

$saveBtn.bsInlineQuestion({ question: "Are you sure?", placement: 'auto', buttons: [{ text: 'Yes', cssClass: 'btn-primary bs-confirm', callback: $.proxy(function () { this.$grid.bsGrid('getRowElement', objId).find('.js-editableCredentials').bsPanel('save'); }, this) }, { text: 'No', cssClass: 'btn-theme bs-cancel', callback: function (e) { $saveBtn.bsInlineQuestion('toggle'); } }] });

Thank you for your Support
Regards Dumitru

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

1 participant