Fix translation script, make it read UTF-8 source files correctly
This commit is contained in:
parent
3b6b0f8b69
commit
d15d58f6d1
|
@ -4,7 +4,7 @@ cd ..
|
|||
|
||||
#generate a new .po file
|
||||
#this will generate a file called messages.po
|
||||
find . -iname "*.phtml" -o -name "*.php" | xargs xgettext -L php
|
||||
find . -iname "*.phtml" -o -name "*.php" | xargs xgettext -L php --from-code=UTF-8
|
||||
|
||||
#merge the new messages from messages.po into each existing .po file
|
||||
#this will generate new .po files
|
||||
|
|
Loading…
Reference in New Issue