camel-tooling / camel-tooling/camel-dashboard-console

Fix i18n parser to enable the use of keys instead of value as key

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
3
Forks
4
Avg merge
33m
Merged PRs (30d)
6

Description

By default i18n parser creates the english locales/en/plugin__camel-openshift-console-plugin.json file using the value as key. While it works for most case, it is not ideal for long texts containing html tags.

See doc: https://react.i18next.com/latest/usetranslation-hook

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the i18n parser configuration that generates locales/en/plugin__camel-openshift-console-plugin.json, then read the linked react-i18next useTranslation documentation. Define how keys should be selected instead of translation values, and verify that generated entries use stable keys rather than long HTML-containing text.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
internationalization, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.