forked from vslavik/poedit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
144 lines (90 loc) · 3.92 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
------------
Poedit
------------
a cross-platform translations editor
About
=======
This program is a simple translations editor for PO and XLIFF files. It also
serves as a GUI frontend to more 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
============
Easily-installable prebuilt binaries are provided for Windows and macOS and
available from https://poedit.net/download.
Official binaries for Linux are available as a Snap at https://snapcraft.io/poedit
Most Linux distributions also include native Poedit packages.
Installing from sources
=========================
Requirements:
* Boost
* Unicode build of wxWidgets library, version >= 3.0.3 (see http://www.wxwidgets.org)
* ICU
* LucenePlusPlus
* If on Unix, GtkSpell for spell checking support
Optional dependencies:
* cld2 (better language autodetection and non-English source languages)
* C++REST SDK >= 2.5 (Crowdin integration)
Unix
------
Do the usual thing:
./configure
make
make install
You must have the dependencies installed in a location configure will find,
e.g. by setting CPPFLAGS and LDFLAGS appropriately.
macOS
-------
You need a full git checkout to build on macOS; see below for details.
After checkout, use the Poedit.xcworkspace workspace and the latest version of
Xcode to build Poedit.
There are some additional dependencies on tools not included with macOS.
They can be installed with Homebrew and macos/Brewfile:
brew bundle --file=macos/Brewfile
Windows using Visual Studio 2017
----------------------------------
You need a full git checkout to build on Windows; see below for details.
After checkout, use the Poedit.sln solution to build everything.
To build the installer, open win32/poedit.iss in Inno Setup and compile the
project.
Installing from Git repository
--------------------------------
Get the sources from github (https://github.com/vslavik/poedit):
git clone https://github.com/vslavik/poedit.git
If you are on Windows or OSX, you'll need all the dependencies too. After
closing, run the following command:
git submodule update --init --recursive
On Linux and other Unices, only a subset of submodules is necessary, so you can
save some time and disk space by checking out only them:
git submodule update --init deps/json deps/pugixml
When building for Unix/Linux, 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
* gettext tools to create .mo files
On macOS and Windows, bootstrapping is not needed.
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.
Windows and macOS 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 <[email protected]>
Please see the AUTHORS file for information about other contributors.
Links
=======
https://poedit.net/
- Poedit homepage
http://www.gnu.org/software/gettext/
- GNU project homepage, contains gettext and documentation