Add tests for missing translation keys
Context https://expensify.slack.com/archives/C01GTK53T8Q/p1626368845329900
Problem
We sometimes miss to add add a translations (right now in spanish only) for new keys added in the base english translation file
Solution
Add a Jest Unit test that iterates over all the keys (and it's subkeys) in the base english file and fails for any is not found in the rest of base language files (spanish for now)
Triggered auto assignment to @jboniface (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.
@jboniface can you directly hire @parasharrajat please?
Interesting stuff. This is important as I have been missing adding translations. :smile:
invite sent, post here https://www.upwork.com/jobs/~01b4ab6512e3573b99
@iwiznia Looks like there is are a lot of translations that are missing. How do you want me to handle that case? Do I need to add those translations as well(presumably extra work)? :face_with_head_bandage:
If you can, that would be great, otherwise tests would fail for all open PRs... if you compile a list of missing translations, I can provide the translations in spanish for you.
Added them already. Please review.
paid
@iwiznia @jboniface Be sure to fill out the Contact List!
@parasharrajat do you have any idea why tests are not failing in this PR given there's a new key in english but no equivalent one in spanish?
WHAT?! https://github.com/Expensify/App/actions/runs/3584994401/jobs/6032394720#step:6:4353 Tests failed, but build passed??! Taking it to slack