cdp-frontend icon indicating copy to clipboard operation
cdp-frontend copied to clipboard

Localization effort

Open tohuynh opened this issue 2 years ago • 0 comments

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.

tohuynh avatar Jan 20 '22 04:01 tohuynh