stefalda / react-localization

Simple module to localize the React interface using the same syntax used in the ReactNativeLocalization module.
MIT License
373 stars 58 forks source link

Clean localization file by removing the unused keys #126

Closed HoussemDjeghri closed 2 years ago

HoussemDjeghri commented 2 years ago

Hi, in our prod app we have two localization files en and fr that have both 1192 keys in them that accumulated after two years of updating the localization, so we end up with a lot of unused keys the files, so we want to know if there is a way to clean the localization files by removing the unused keys without passing throw the 1192 keys ?

stefalda commented 2 years ago

Hi, unfortunately there's no automatic way to detect unused keys... Sorry