Hello,<br><br>I&#39;m Balsa Raicevic and I study at Belgrade University. I&#39;m considering applying for project &quot;Translation wiki&quot;.<br>
<br>I have an idea how to parse wml files and collect strings, and
output them to po-style string so you can use Pootle to translate them.
The two approaches I have in mind are:
<br><br>1) make a Perl parser, to collect string from a wml file, and
a hash of originals and replacements appropriate for po-style strings.
Then we could parse the strings, replace with the appropriate tokens,
and give to pootle as arguments to translate.
<br>2) make a grammar in yacc to recognize the wml format, using lex
parser, where we could use c++ actions inserted in yacc to easily
generate the final string, which we could pass to Pootle automaticly at
the end of every string (also using yacc actions), and do with the
result whatever is needed.
This is my preffered approach.<br> <br>I think that both approaches to this problem have a great
flexibility, it is only a matter of exactly what do you think is
needed.
<br><br>What do you think of my approach? Do you think I&#39;m on the right track ? :)<br><br><br>Thanks ahead for replying,<br>Balsa