bcgov / bcgov/entity

Add tooltips and bold styling to selected words in i18n text

Open
#18,949 1 comment 0 reactions 0 assignees View on GitHub
BTR Register BO
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Some words in a sentence have bold font style or have a tooltip. Depending on languages, these words may appear in a different position in a sentence.

We need to render them dynamically instead of hard-coding it in the i18n json file.

Example:
![image](https://github.com/bcgov/entity/assets/144158754/e31c658f-d2e8-40e5-9a74-6497447d5b31)
![image](https://github.com/bcgov/entity/assets/144158754/e503011d-eb54-4bd6-8ff4-9e36b6ef6783)

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the frontend i18n JSON entries and the current rendering logic that hard-codes bold words and tooltips. Compare the provided examples across languages, then define done as allowing translated words to change position while retaining their styling and tooltip behavior. No test or file path is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.