react-rte
react-rte copied to clipboard
Localization support
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} />;
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.
:+1: Thank you!
That would be great addition :+1:
image support and localization should be enough for most circumstance, :+1:
Hello! Any news about this? It would be a really nice addition indeed! 👍