Follow-up Comment #41, task #115 (project savane):
Thanks Mathieu for your fast reply :)
nothing happend! this is what i did:
- i added a new po file named "fa_IR.po" to "po" directory.
- change i18n.php files and add the following lines to it:
"fa" => "IR.UTF-8",
"fa_IR" => "IR.UTF-8"
AND
$plural_rule["fa_IR"] = ($n > 1);
- make savane and make install po ddirectory as root (all things work fine in
this section)
- open savannah.conf.pl and change $sys_default_locale to "fa_IR" (it was
uncommented before)
- run sv_update_conf
and check the system, but it is english :(
this is header of po file:
=============================
"Project-Id-Version: fa_IR\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2005-10-11 20:34+0330\n"
"Last-Translator: [[no spam]]\n"
"Language-Team: [[no spam]]\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Persian\n"
"X-Poedit-Country: IRAN, ISLAMIC REPUBLIC OF\n"
"X-Poedit-SourceCharset: utf-8\n"
=============================
and when i run "ls /usr/share/locale/fa*" i saw:
=============================
/usr/share/locale/fa:
./ ../ LC_MESSAGES/
/usr/share/locale/fa_IR:
./ ../ LC_MESSAGES/
=============================
and for "ls /usr/share/locale/fa/LC_MESSAGES/" i have:
=============================
authconfig.mo
redhat-menus.mo
system-config-network.mo
glib20.mo
system-config-mouse.mo
system-config-securitylevel.mo
=============================
and for "ls /usr/share/locale/fa_IR/LC_MESSAGES/" i have:
=============================
savane.mo
=============================
thanks a lot.
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?func=detailitem&item_id=115>
_______________________________________________
Message sent via/by Gna!
http://gna.org/