gumara

เหนือกว่าเหตุผล ผมไม่มีเหตุผล

po

Compile po เป็น mo

เป็นคำสั่งที่จำยากที่สด และลืมง่ายที่สุด เคยจดไว้ล๊ะ แต่หามะเจอ คงจะไว้ตอนบ้านเก่ามั๊ง

ติดตั้ง gettext

compile po สั่ง msgfmt -o

เอาไฟล์วางไว้ที่ /usr/share/locale/th/LC_MESSAGES/ เข้าใจว่าตั้งชื่อให้ตรงกับโปรแกรม เช่น gedit ก็ ตั้งชื่อว่า gedit.mo

more info
http://www.empresent.com/pdf/localisation.pdf
http://www.gnu.org/software/gettext/manual/html_node/Binaries.html#Binaries

rMilk

Comment

Tags

Another ~


Let's chat

User login

del.icio.us/~

tweet me

Add to Technorati Favorites


Stat:

free web tracker