Skip to content

Change PoEdit base path to local repository

Kenneth Gulbrandsøy edited this page Aug 3, 2014 · 2 revisions

PoEdit have one unfortunate shortcoming. The editor only understands absolute base paths, which makes is a little cumbersome for several developers to maintain these files concurrently. Since base paths are stored in each PO-file, any developer attempting to update the PO-file first have to change to a base path which matches the local repository location. Use this guide to change base paths if you need to update PO-files.

Note

RescueMe developers could organize the code effort such that only one developer updates and translates PO-files. This would remove the problem altogether.

###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.

Open the Catalog Manager

  • File -> Catalog Manager

If you haven't created a PoEdit project yet, [you should do so now](Create PoEdit projects).

Open the PO-file you want to update

  • Goto Catalog -> Properties... and change the "Base path" in the "Sources path" tab.

###Update the PO-file

See [Update PO-files using PoEdit](Update PO-files using PoEdit).