This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Moves string translations from one module to anothe in android project. | |
## How to use? | |
# Navigate to Android studio root directory, paste the script and invoke it from terminal: | |
# ./stringRelocator.sh ${source_module} ${destination_module} ${string_key} | |
# example: ./stringRelocator app core login_header | |
# In case you need to support more translation, just add the proper values directory name to the array list (line 44) | |
# The script moves stirngs line by line | |
# If the destination file does not exist then the script does not create the file for you but it does not remove the string from the source either. | |
# Happy coding! |