Repository metrics
- Stars
- (167 stars)
- PR merge metrics
- (PR metrics pending)
説明
Terms
- I have searched open localization issues
- I agree to follow Scribe-iOS' Code of Conduct
Description
This issue is to create a process for the App Store images to be localized for other regions as discussed in #261. Some information on how this is all gonna work based on some Python scripts for a board game I have on GitHub:
- We need the base images to be SVGs like the ones in this directory
- We'll then make a version of this Python script which goes through and replaces the
{{title}}and{{content}}with the given words, which for us would be replacing the headers and sub-headers of the App Store images- This would be a file
AppStore/add_image_texts.py
- This would be a file
- We'd then need a script similar to this one that converts the SVGs into PNGs (we need PNGs for the App Store Connect upload)
- This would be a file
AppStore/svg_images_to_png.py
- This would be a file
- Getting it set up so that it reads the language directories that we have and runs it for each would be great (so it sees that we have an English and Spanish directory and runs it for both)
- Final edits like adding in tqdm to make sure that the process is being tracked would be great :)
For this we'd be working with the command line api of Inkscape for the PNG conversion and ImageMagick would be good to implement as well as we'd need to remove the alpha component from the images. I can add the ImageMagick part in later as well, but I always need to run the ImageMagick command mogrify -alpha off *.png in the terminal to format the images that I export from Figma :)
I'd need to make the base images in the first task above, and would welcome support with the rest 😊