Quill: Package for translate

Created on 2 Sep 2014  路  6Comments  路  Source: quilljs/quill

Hi guys, I'm find for package to translate this. If it not exists I can help to build it.

Most helpful comment

@jhchen Can you give an example of what the correct config option is to provide a template for the link tooltip? I couldn't find that in the documentation.

All 6 comments

It probably doesn't exist but what are you wanting to translate?

So, I need some explanation about architecture of Quill for to do it. What the best way to develope it example?

Still not sure what you are trying to translate?

Sorry, I'm just wanting a correct way to develop a translation into the fields. For example:

en: Italic
pt-BR: It谩lico

Like this link: https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale

Thanks for the clarification. Quill core does not actually output any text on its own. When you add the toolbar for example you can actually add any text you want. All the examples on the documentation site is in English but one could have done:

<div id="toolbar">
  <button class="ql-bold">Negrito</button>
  <button class="ql-italic">It谩lico</button>
</div>

and things should work the same. The only part Quill looks at is the css class which is invisible to the user. The other module I can think of that shows text is the link tooltip. This is less documented but you can pass in a template as a config to control the text here as well.

@jhchen Can you give an example of what the correct config option is to provide a template for the link tooltip? I couldn't find that in the documentation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ouhman picture ouhman  路  3Comments

markstewie picture markstewie  路  3Comments

kheraud picture kheraud  路  3Comments

CHR15- picture CHR15-  路  3Comments

benbro picture benbro  路  3Comments