PCSX2 Documentation/Translation Guide: Difference between revisions

m
a wee better
No edit summary
m (a wee better)
 
(4 intermediate revisions by 3 users not shown)
Line 13: Line 13:
Fortunately there are tools now available to make editing .po files easier. The recommended tool for creating and updating .po files is Poedit. It's an open source app that makes using gettext (usually a terse command line tool) almost a pleasurable experience. Since I personally have no earthly idea how to use gettext, and have only ever used Poedit, the rest of this quick tutorial will read as if Poedit is the only way to actually get the job done.
Fortunately there are tools now available to make editing .po files easier. The recommended tool for creating and updating .po files is Poedit. It's an open source app that makes using gettext (usually a terse command line tool) almost a pleasurable experience. Since I personally have no earthly idea how to use gettext, and have only ever used Poedit, the rest of this quick tutorial will read as if Poedit is the only way to actually get the job done.


See our UsingPoedit page for details on how to download, install, and configure Poedit.
See our [[PCSX2 Documentation/Using Poedit|Using Poedit]] page for details on how to download, install, and configure Poedit.


==PCSX2-specific Extension: Iconized gettext Identifiers==
==PCSX2-specific Extension: Iconized gettext Identifiers==
Line 41: Line 41:


==Downloading and Using POT files==
==Downloading and Using POT files==
The latest stable release POT file pack can be found here: https://code.google.com/p/pcsx2/downloads/list ('''Warning''': this link has expired and as of may 2015 there are no alternatives)
The 1.4 stable release POT file pack can be found here: https://github.com/PCSX2/pcsx2/releases/tag/v1.4.0
Download the source code (zip) open the file and follow the path pcsx2-1.4.0/locales/templates


(look for the one labeled PCSX2_POT with some extra version information)
https://github.com/PCSX2/pcsx2/tree/master/locales/templates


You may also download the POT files individually from our SVN server. POT files are housed in the /locales/templates/ folder. The latest templates for the active trunk/devel branch of PCSX2 can be found here: http://web.archive.org/web/20141024194015/https://pcsx2.googlecode.com/svn/trunk/locales/templates/. Note that working from the trunk POTs is not recommended, except in cases where it has been quite a while since the latest stable or beta releases, or when the PCSX2 developers have entered Release Candidiate stages for an upcoming stable release. In most other cases you will want to check out a stable release branch instead, and use the templates from that.
You may also download the POT files individually from our GIT server. POT files are housed in the /locales/templates/ folder. The latest templates for the active trunk/devel branch of PCSX2 can be found here: https://github.com/PCSX2/pcsx2/tree/master/locales/templates. Note that working from the trunk POTs is not recommended, except in cases where it has been quite a while since the latest stable or beta releases, or when the PCSX2 developers have entered Release Candidiate stages for an upcoming stable release. In most other cases you will want to check out a stable release branch instead, and use the templates from that.


As of the last update to this wiki, the latest POT file pack is the 0.9.8 release translation POT.
As of the last update to this wiki, the latest stable POT file pack is the 1.4.0 release translation POT.


==The Multiple POT files in PCSX2==
==The Multiple POT files in PCSX2==
Line 65: Line 66:
When you're done, you will be given the rights to post in the specific forum for the language you translated into in our board. There you can attach either the actual PO file archive you have created, or a patchfile that can be applied against the current svn copy of the translation.
When you're done, you will be given the rights to post in the specific forum for the language you translated into in our board. There you can attach either the actual PO file archive you have created, or a patchfile that can be applied against the current svn copy of the translation.


For those of you who are familiar and comfortable with Subversion (SVN): The PCSX2 Team hosts all available translations from our googlecode repository. Available translations and their submission history can be viewed online at https://pcsx2.googlecode.com/svn/trunk/locales/. You can also use an Svn tool such as TortoiseSvn to perform more detailed commit history analysis.
For those of you who are familiar and comfortable with Github: The PCSX2 Team hosts all available translations from our github repository. Available translations and their submission history can be viewed online at https://github.com/PCSX2/pcsx2/tree/master/locales/templates. You can also use an Git tool such as Git for windows to perform more detailed commit history analysis.


Translations are branched according to the releases of PCSX2 that they conform to.
Translations are branched according to the releases of PCSX2 that they conform to.




{{PCSX2 Main Documentation Navbox}}
{{PCSX2 Documentation Navbox}}
67,565

edits