CouncilDataProject / CouncilDataProject/cdp-frontend

Localization effort

Open
#183 0 comments 0 reactions 1 assignee Claimed by @BrianL3 View on GitHub
enhancement
Dominant language
TypeScript
Stars
17
Forks
28
PR merge metrics
No merged PRs in 30d

Description

This an issue to keep track of which texts need to be provide translations and added to our localization feature

### texts that need translations
- text in LegislationOverview
- text in LegislationLatestVote
- Term's role title in PersonRoles.tsx : https://github.com/CouncilDataProject/cdp-frontend/blob/main/src/containers/PersonContainer/PersonRoles.tsx#L102
- text in the legislation card
- text in LazyFetchDataContainer, its use throughout the app -- in particular the `data` field of LazyFetchDataContainer
- `copy` and `share` text in share event at a timepoint feature (on the event page)
- `from` and `to` in the DateRangeFilter
- N `events` text that specifies how many search results there are in the `/events/search` page
- `Supervistor` constant (https://github.com/CouncilDataProject/cdp-frontend/blob/main/src/models/constants.ts#L8)
-

### texts that need to be localized (add to LocalizedStrings.tsx and the supported lang files)
-

### localization bugs
- fix use of `ROLE_TITLE` in PersonRoles.tsx to account for role titles that have spaces in them, e.g. Vice Chair. https://github.com/CouncilDataProject/cdp-frontend/blob/main/src/containers/PersonContainer/PersonRoles.tsx#L35
-

@JacksonMaxfield @BrianL3 @tohuynh
This is an on-going story, just change the text of this box as needed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.