<p>We need to write a script that can be used at build time, that creates new English strings files to be used for localization updates in various languages.</p>

<p>This script should:</p>

<ul>
<li>Parse all files in Commotion packages looking for strings encapsulated in the translate() function or in luci translation brackets <%: %></li>
<li>Populate strings into a file such as <em>commotion-strings-new.po</em>
</li>
<li>Check strings in <em>commotion-strings-new.po</em> for matching string in a stored file <em>commotion-strings-stable.po</em> containing the most up to date list of English strings.
** If a string match is found, no update is needed. This is an existing, known string.
** If string match is not found, add the string to <em>commotion-strings-stable.po</em>
</li>
<li>Compare the English strings in the now updated <em>commotion-strings-stable.po</em> file with English strings in the existing translation files: <em>commotion-strings-[es,fr,ar].po</em>
** If string match is found, no update is needed. This is an existing, known string.
** If string match is not found, add string to <em>commotion-strings-[es,fr,ar].po</em>
</li>
<li>Update language PO files on transifex/github</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/luci-i18n-commotion/issues/1'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/HSS0tS4nfORw_XnPQF8f0RfCf8iIBd_O92RCtzPOlu9afSoRLGJ7r6VQR6JCnODi.gif' height='1' width='1'></p>