Skip to content

Conversation

helenul
Copy link
Member

@helenul helenul commented Nov 22, 2026

The watering, sunlight and care values on the back of the plant cards are now translated, so the cards are fully Norwegian when Norwegian is chosen, except for the plant names and descriptions.

Field From the data Norwegian
Watering Minimum / Average / Frequent Sjeldent / Jevnlig / Ofte
Sunlight full sun / part shade / filtered shade / part sun/part shade Full sol / Delvis skygge / Filtrert skygge / Delvis sol/delvis skygge
Care level Low (Easy) / Medium (Moderate) / High Lettstelt / Middels / Høy
  • New plantCard/plantTraits.ts maps each known value to a translation key, in any casing, with "Moderate" as medium

  • Values that are not known are shown as they are, so nothing is lost if the data has a value we have not seen

  • The same wording as in the filters on Explore Plants and My Matches

  • Updated/Created relevant tests and wrote documentation

@helenul helenul requested a review from a team as a code owner November 22, 2026 18:37
@helenul helenul linked an issue Nov 22, 2026 that may be closed by this pull request
@helenul helenul self-assigned this Nov 22, 2026
Copy link
Member

@alexajah alexajah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@helenul helenul merged commit 197d47b into main Nov 23, 2026
0 of 4 checks passed
@helenul helenul deleted the 155-translate-care-values-on-plant-cards branch November 23, 2026 07:48
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

translate care values on plant cards
2 participants