-po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@
sed -i 's|<html>|<html dir="rtl">|' $@
sed -i 's|<li><a class="current" href="/en">English - v4.0</a></li>|<li><a href="/en">English - v4.0</a></li>|' $@
+ sed -i 's|<li><a href="/fa">فارسی - v4.0</a></li>|<li><a class="current" href="/fa">فارسی - v4.0</a></li>|' $@
+ sed -i '/\/css\/main.css/a\
+ <link rel="stylesheet" href="//static.fsf.org/nosvn/enc-dev0/css/main.rtl.css" />' $@
# (copy the recipe for your language if you migrate to PO)