sethsandaru / vue-form-builder

Super Form Builder built on top of Vue with Drag & Drop functionality, savable-form-schema and easy to maintain/upgrade your form.
http://vue-form-builder.sethphat.com
MIT License
413 stars 129 forks source link

How translate elements #82

Closed LucasPanetto closed 3 years ago

LucasPanetto commented 3 years ago

Hello, I have doubts regarding the translation of the texts, I have not found material on this topic.

LucasPanetto commented 3 years ago

solved this problem by creating a fork of the project, and implementing the method responsible for translating texts from i18n, added the library to the project and created a new library of it all. Then, I imported this new library into my main project, and there I define the translation object.

abhimanusharma commented 3 years ago

@LucasPanetto Can you create a PR so that this feature can be included in the main project?

LucasPanetto commented 3 years ago

@abhimanusharma i can't make this now because that implementation require call i18n method in every local with texts. And now I'm waiting for definitions to finish the feature in my fork.

loran750 commented 3 years ago

@LucasPanetto hello, I'm interested in that PR. How is your fork ? is it public ? I think vue-form-builder should be compliant with i18n. It would be so great

LucasPanetto commented 3 years ago

@loran750 hello.

My fork is private because I developed improvements on demand from my client, so it has a layout and sensitive rules.

In addition, I no longer have access to the code because I no longer serve this client.

But I tell you that it is not difficult to implement the i18n in the fork that you create.