React-draft-wysiwyg: Spanish i18n

Created on 24 Jan 2018  路  3Comments  路  Source: jpuri/react-draft-wysiwyg

Really useful project :)

I've created spanish language translations file. How can I include in the project externally. Or can you just provide a new version of the library with spanish translations? Thank you.

es.js.zip

All 3 comments

I solved like this:

import es from './es.js';

[...]

<Editor
    localization={{
      locale: 'es',
      translations: es
    }}
  />

File es.js is in the previous comment.

excelent proposal! ralated to #583 #584 :)

Language support added in [email protected] from this PR https://github.com/jpuri/react-draft-wysiwyg/pull/584.

Thanks a lot :)

Was this page helpful?
0 / 5 - 0 ratings