department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
36 stars 55 forks source link

Add translation support to `va-button` #2762

Open jamigibbs opened 3 weeks ago

jamigibbs commented 3 weeks ago

Description

We have received Spanish translations for "Continue" and "Back" strings which are used in va-button for va-button-pair. We should add i18n support to that component so that they can be translated with the following values:

Spanish

Tagalog

Slack convo for reference: https://dsva.slack.com/archives/C01DBGX4P45/p1713890235904039

Screenshot 2024-04-23 at 12 18 44 PM

Details

The translation files are located here in the component-library:

https://github.com/department-of-veterans-affairs/component-library/tree/main/packages/core/src/i18n/translations

You can look at other components that have translation support already as a reference for how to add it to va-button too.

Tasks

Acceptance Criteria

caw310 commented 3 weeks ago

Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @nickjg231 @powellkerry @rmessina1010 @rsmithadhoc

loripusey commented 2 weeks ago

@jamigibbs Here are the Tagalog translations for "Continue" and "Back":