react-rte icon indicating copy to clipboard operation
react-rte copied to clipboard

Localization support

Open maxmantz opened this issue 9 years ago • 5 comments

Is localization suppport possible? I was thinking about passing an array of label strings for the tooltips and Header dropdown:

Example for German:

const labels: {
  bold: 'Fett',
  italic: 'Kursiv',
  strikethrough: 'Durchgestrichen',
  monospace: 'Monospace',
  ul: 'Liste',
  ol: 'Aufzählung',
  bockquote: 'Zitat',
  link: 'Link',
  removeLink: 'Link entfernen',
  normal: 'Normal',
  headingLarge: 'Überschrift groß',
  headingMedium: 'Überschrift mittel',
  headingSmall: 'Überschrift klein',
  codeBlock: 'Code Block',
  undo: 'Rückgängig',
  redo: 'Wiederherstellen'
};

return <RichTextEditor labels={labels} {...props} />;

maxmantz avatar May 05 '16 18:05 maxmantz

Vielen Dank! Localization is something I would really like to implement. I will try to find a good way to get this into the project.

sstur avatar May 06 '16 00:05 sstur

:+1: Thank you!

maxmantz avatar May 06 '16 07:05 maxmantz

That would be great addition :+1:

ArmorDarks avatar Jul 02 '16 13:07 ArmorDarks

image support and localization should be enough for most circumstance, :+1:

OYangXiao avatar Jul 05 '16 07:07 OYangXiao

Hello! Any news about this? It would be a really nice addition indeed! 👍

romerorocha avatar Oct 21 '20 14:10 romerorocha