Skip to content

Bash script to search unusable localizable strings in project

Notifications You must be signed in to change notification settings

vivatum/bash_key_occurrences

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

String key occurrences counter

Bash script to search unusable localizable strings in project

Parameters

  1. path to Localizable.strings file
  2. min occurrences for key - Integer
  3. path to search source folder

Run example

% bash key_occurrences_counter.sh /my/localizable/file/Localizable.strings 3 /my/project/folder

Report example

result_list.txt

REPORT
Unused Localizable Keys

Report start: 2022-04-21 13:56:45
Search path: /my/project/folder

"WrongCodeTitle" ---> 2
"WrongCodeMessage" ---> 2
"NetworkError" ---> 2
"ServerCommunicationError" ---> 2
"ServerCouldNotProcessTheContract" ---> 2
"SignatureError" ---> 2
"DeviceRegistrationError" ---> 2
"OldAppVersion" ---> 2
"OperatorIdInvalidError" ---> 2

Report finish: 2022-04-21 13:57:06

About

Bash script to search unusable localizable strings in project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages