[ubuntu-in] SCIM all Indian Languages Baraha system
Gora Mohanty
gora at sarai.net
Fri Aug 17 06:26:45 BST 2007
On Thu, 2007-08-16 at 23:44 -0400, Dinbandhu wrote:
[...]
> ok, I've installed it, seemingly successfully.
>
> But I do not understand how to use what you've given above in the test
> instructions. If I type something in Open Office in Hindi, and then open
> a terminal and type
>
> remap_lang -i Devanagari -o Bengali < infile > outfile
>
> How will terminal know to apply this command to the file which is open
> in Open Office. Doesn't there need to be something which specifies what
> the "infile" is ie where terminal should look for the text which it is
> to transliterate? And then, where will the outfile be? Is there going to
> be another file expressly created by terminal, in which the output is to
> be found?
At the moment, the script deals only with text files, though it could be
extended to OpenOffice without too much difficulty. Thus, if you want to
apply the command to a file that you have created in OpenOffice, you
will need to first export it as text. In OpenOffice, go to the File
menu, and choose "Save As". In the pop-up dialog, choose File Type to
be Text Encoded (.txt), enter a file name, say "hindi", and click
Save. Choose Character Set to be Unicode (UTF-8), and click OK. This
will create "hindi.txt" as a UTF-8 encoded file. Then, from the terminal
run,
remap_lang -i Devanagari -o Bengali < hindi.txt > bengali.txt
This will create the transliterated file, bengali.txt, in Bengali. You
can open this in gedit, or OpenOffice.
If there is sufficient interest, I can consider making the
transliteration script into an OpenOffice plugin, but not just now.
Regards,
Gora
More information about the ubuntu-in
mailing list