replace a string in localizable.strings file (ios files) using command line : <p>I have to replace a string in all places in a file Localizable.strings ( a iOS file).</p>

<p>Please download this file <a href="https://www.dropbox.com/s/m692njpkyubftd9/localizable.strings?dl=0" rel="nofollow noreferrer">here</a></p>

<p>For example: I need to replace "terms" with "xxxx"</p>

<p>I tried all possibilities:</p>

<pre>

perl -ps 's/terms/xxxx/g' localizable.strings 

sed -i "" "s/terms/xxxx/g' localizable.strings

cat localizable.strings | awk '{gsub(/terms/,"xxxx")}1'

</pre>

<p>I think this localizable.strings file contains "unicode" character, so I add:</p>

<pre>
LANG=C LC_ALL=C
</pre>

<p>before perl, sed, and awk. But it doesn't work.</p>
