vaadin / vaadin/framework

Internationalize RichTextArea

Open
#570 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Originally by @magi42


The RichTextArea component has many texts, such as the Background, Foreground, Font and Size menus and their items, but they are all in English. It would be nice if it would be possible to localize them.

Probably easiest way would be to add server-side API for providing translations for the texts. The texts are probably not localized in GWT and localizing them in IT Mill Toolkit for every language might be a lot of work.

The buttons "B", "I", "U", etc. can be localized with CSS, but I'm not sure how stabile such localizations are if the order of the buttons in the button background changes in GWT. Hope that they won't change it.


Imported from https://dev.vaadin.com/ issue #2189

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the RichTextArea component and the sources of its Background, Foreground, Font, Size, and button labels. Review how GWT localization and any existing server-side text APIs are handled. Done means the named RichTextArea texts can be localized without relying on unstable button ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, java
Domain
frontend, localization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.