You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
activist adopted the use of the i18nMap object in #1094. One thing that's needed is that the functionality to update the map should be ran each time the frontend is built to make sure that new developers in the community don't run into issues when they update the i18n keys and forget to update the object. Ideally this would be the frontend/i18n/check/i18n_generate_map_object.py script being ran on yarn build, but we can also look into other solutions here :)
Contribution
Happy to help devise a solution to this and work with people to implement this functionality! 😊
The text was updated successfully, but these errors were encountered:
Hi @andrewtavis! I had a doubt, if I wanted i18n_generate_map_object.py to run on yarn build, I would have to update the json file with "frontend/i18n/check/i18n_generate_map_object.py && yarn webpack" to execute the py script. Can you direct me to where I should add this to the project?
Suz99
added a commit
to Suz99/activist
that referenced
this issue
Jan 24, 2025
- encapsulated the functionality is wrapped in a main() function
-This modification ensures that each time the build process is run, the Python script updates the i18n keys automatically, making the build process robust and maintaining consistency across the application.
Signed-off-by: Suzana <[email protected]>
Terms
Description
activist adopted the use of the
i18nMap
object in #1094. One thing that's needed is that the functionality to update the map should be ran each time the frontend is built to make sure that new developers in the community don't run into issues when they update the i18n keys and forget to update the object. Ideally this would be the frontend/i18n/check/i18n_generate_map_object.py script being ran on yarn build, but we can also look into other solutions here :)Contribution
Happy to help devise a solution to this and work with people to implement this functionality! 😊
The text was updated successfully, but these errors were encountered: