CentreForDigitalHumanities / CentreForDigitalHumanities/gen-ai-reflection
Centralize fetching of current locale
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
> It would be nice to get the current locale from the LanguageService, but maybe we can put that in a different issue because it requires some refactoring of the home component as well.
_Originally posted by @tijmenbaarda in https://github.com/CentreForDigitalHumanities/gen-ai-reflection/pull/67#pullrequestreview-3472470409_
Contributor guide
Research direction
Locate the LanguageService and home component, then trace how the current locale is fetched today. Centralize that retrieval in the LanguageService and update the home component to use it; the refactor is done when locale access no longer needs to be duplicated there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, localization
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100