<div dir="ltr"><span style="font-family:courier new,monospace"><font face="arial,helvetica,sans-serif">This is with reference to Issue #3 of the transliteration module raised by copyninja (<a href="https://github.com/Project-SILPA/Transliteration/issues/3">https://github.com/Project-SILPA/Transliteration/issues/3</a>).<br>
<br>The error I got while transliterating to ISO 159:2001 was: </font><br></span><div><div><span style="font-family:courier new,monospace"><i><br></i></span><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<span style="font-family:courier new,monospace">Traceback (most recent call last):</span><br><span style="font-family:courier new,monospace">  File "<pyshell#1>", line 1, in <module></span><br><span style="font-family:courier new,monospace">    a.transliterate_iso15919("ram", "en_US")</span><br>
<span style="font-family:courier new,monospace">  File "...\core.py", line 123, in transliterate_iso15919</span><br><span style="font-family:courier new,monospace">    tx_str = tx_str + charmap["ISO15919"][offset]</span><br>
<span style="font-family:courier new,monospace">NameError: global name 'charmap' is not defined</span><br></blockquote><div><br></div><div>Probably, while while shifting the module to flask, this bug remain unidentified. I found charmap.py at src\silpa\common\ (Old Silpa). It has the required charmap defined in it. Since I am not very familiar with the functioning of Old-Silpa, I don't how the issue can be solved.I am studying old-Silpa code to find out the right way.<br>
<br></div><div>The case is similar for IPA also.<br><br></div><div>So, can anybody suggest me how to fix this?<br><br></div><div>Yash<br></div><div>(#sinhayash)<br></div></div></div></div>