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 #44

Closed
Yatoo1992 opened this issue Jan 28, 2016 · 2 comments
Closed

Multi language #44

Yatoo1992 opened this issue Jan 28, 2016 · 2 comments

Comments

@Yatoo1992
Copy link

I was able to change the language of form during initialization e.g as explain in this example provided by Kevin chappel . But what if i want to change the language in the middle of form creation or user want to save a form with English and a french version.
Do i have to re initialize the form with new language messages on language change event??

@kevinchappell
Copy link
Owner

Currently this is not possible and there would need to be some work done to to provide a reInit() function.

A future version may have some 2-way data binding similar to ngI18n but currently I would recommend a page refresh.

@kevinchappell
Copy link
Owner

@Yatoo1992 #62 should allow you to reinitialize formBuilder on the fly with options as they are needed. Note this will not change some items on the stage as these are considered saved values. Example if you change the default label for the Text input but already have text inputs on the stage their label will not change. However other, non-editable labels like "Help Text" or "Subtype" will update with the new values.

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