Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Gettext translations editor for OS X, Windows and Unix.

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 admin
Octocat-spinner-32 deps @ 0065079
Octocat-spinner-32 docs
Octocat-spinner-32 icons
Octocat-spinner-32 locales
Octocat-spinner-32 macosx
Octocat-spinner-32 src
Octocat-spinner-32 win32
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 COPYING
Octocat-spinner-32 Makefile.am
Octocat-spinner-32 NEWS
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 bootstrap
Octocat-spinner-32 build.properties
Octocat-spinner-32 build.xml
Octocat-spinner-32 configure.ac
Octocat-spinner-32 make-distrib.sh
Octocat-spinner-32 poedit.desktop
README
                                 ------------
                                    Poedit
                                 ------------

              a cross-platform gettext catalogs editing tool


 About
=======

This program is GUI frontend to GNU gettext utilities (win32 version
is part of the distribution) and catalogs editor/source code parser. It helps
with translating application into another language. For details on principles
of the solution used, see GNU gettext documentation or wxWidgets' wxLocale 
class reference.


 Installing
============

Binary easily-installable packages are provided for Windows and OS X and are
part of many Linux distributions.


 Installing from sources
=========================

Requirements:

  * Boost
  * Unicode build of wxWidgets library, version >= 2.8.7
    (see http://www.wxwidgets.org)
  * Berkeley DB >= 4.7 if you need translation memory
  * If on Unix, GtkSpell 2.x plus GTK+ 2 build of wxWidgets for spell
    checking support


 Unix
------

Do the usual thing:
    ./configure
    make
    make install
This works on OS X (which is a standard BSD Unix system) and Windows with
MinGW toolchain and MSYS shell installed. You must have the dependencies
installed in a location configure will find, e.g. by setting CPPFLAGS and
LDFLAGS appropriately.


 Mac OS X
----------

After compiling the application as above, you can additionally create an OS X
bundle by running "make bundle" in the src/ subdirectory. This requires that
GETTEXT_PREFIX environment variable is set and points to a directory with
compiled GNU gettext programs installed (e.g. msgfmt; GETTEXT_PREFIX=/opt/local
works if you used MacPorts to install gettext and so msgfmt is in
/opt/local/bin/msgfmt). Finally, running "make dist-osx" in the toplevel
directory will create disk image with the bundle.


 Windows using Visual Studio 2008 Express
------------------------------------------

Visual Studio makefile and project files are in win32/ directory; the project
is the primary supported way, but the makefile allows you to customize location
of 3rdparty software by setting variables documented near the top of the
makefile.

The simplest way of handling 3rd party dependencies is to get them from
http://github.com/vslavik/poedit-deps. Put that sources into the "deps"
directory. This is linked as submodule from the main Poedit repository;
see "Installing from Git repository" below.

Now go into the deps directory and run "ant" from command line. See deps/README
for information on what you need to do that.

You can also use Ant to build Poedit itself; run "ant -p" to see available
targets. This is the most convenient way of building full Poedit distribution;
it's how Poedit binaries are built.


 Installing from Git repository
--------------------------------

Get the sources from github (http://github.com/vslavik/poedit):

    git clone git://github.com/vslavik/poedit.git

If you are on Windows or OSX, you probably want the dependencies too. They
are at git://github.com/vslavik/poedit-deps.git, but as it's a git submodule,
you can get them by just doing

    git submodule init
    git submodule update --recursive

If you get the sources directly from the Git repository, some generated files
are not present. You have to run the ./bootstrap script to create them. After
that, continue according to the instructions above.

The ./bootstrap script requires some additional tools to be installed:

 * AsciiDoc, xsltproc and xmlto to generate the manual page
 * Bakefile, to generate Windows makefiles/projects
 * ImageMagick and png2icns from libicns to generate icons in Windows and
   OS X native formats

If you don't have any of the dependencies, ./bootstrap will print errors, but
will continue to run. In other words, if you don't need e.g. Windows stuff, you
can ignore Windows-specific dependencies.


 License
=========

Poedit is released under the MIT license and you're free to do 
whatever you want with it and its source code (well, almost :-) -- see the
license text).

See the COPYING file for details on program's licensing and the
icons/README file for details on the icons.

Win32 and Mac OS X versions contain GNU gettext binaries. They are distributed
under the GNU General Public License and their source code is available from
http://www.gnu.org/software/gettext or, if you have difficulties getting them
from there, email me for a copy of the sources.


 Author
========

Vaclav Slavik <vslavik@fastmail.fm>
Please see the AUTHORS file for information about other contributors.


 Links
=======

http://www.poedit.net/
        - Poedit homepage
http://www.gnu.org/software/gettext/
        - GNU project homepage, contains gettext and documentation
Something went wrong with that request. Please try again.