-
Notifications
You must be signed in to change notification settings - Fork 4
Update PO files using PoEdit
Follow this guide when you need to update PO-file with recent additions or changes to localized strings.
Note
In PoEdit, a PO-file is called a catalog.
###Prerequisites
Ensure that you have PHP, php gettext extension and PoEdit installed on you machine.
###Open PoEdit
The first time it opens, you are asked for you full name and email address. This is automatically inserted into every PO-file you make.
- File -> Catalog Manager
If you haven't created a PoEdit project yet, [you should do so now](Create PoEdit projects).
- Double click on the PO-file in the Catalog Manager, or choose File -> Open
- Goto Catalog -> Update from Sources
This will populate the list of localized strings. You will get an error if the base path or any of the paths to folders on the the base path is wrong.
###Translate all text into given language
The editor sorts all strings not translated yet in the top of the list.
###Save changes
- File -> Save
This will save all changes to the PO-file and generate the binary MO-file in same location as the PO-file.
Important
The gettext layer is not able to read the translations before the MO-file is generated.