Fix translation script, make it read UTF-8 source files correctly

This commit is contained in:
Albert Santoni 2014-07-24 16:50:44 -04:00
parent 3b6b0f8b69
commit d15d58f6d1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ cd ..
#generate a new .po file #generate a new .po file
#this will generate a file called messages.po #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 #merge the new messages from messages.po into each existing .po file
#this will generate new .po files #this will generate new .po files