个人工具

UbuntuHelp:poedit

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月13日 (日) 11:32的版本 (New page: {{From|https://help.ubuntu.com/community/poedit}} {{Languages|php5}} === Overview === poEdit is gettext catalogs editor, also known as .po files. It is built with wxWidgets toolkit and ...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


Overview

poEdit is gettext catalogs editor, also known as .po files. It is built with wxWidgets toolkit and can be run on your *buntu distribution. It was created to make an easier and more convenient way to edit catalogs. It is often used in translation work, and can be a very useful tool to use. poEdit is licensed under the MITS license.

Installing

To install poEdit,

sudo apt-get install poedit
</code>
This should pull all deps from the repo's also, and install them.

=== Usage ===

poEdit can be launched from the terminal with the command <code>poedit &</code>, or the gnome desktop through <code>Applications >> Programming >> poEdit</code>. 

==== First Run ====
On the first run you are asked to enter your name and email address, this is (as explained) to add your details as a contributor to the headers of the .po file. You can also select or deselect other options on the settings tabs. Most of the time though you won't need more than just entering your name and email.

==== Editing ====
You will need to gain your .po file from what ever community or resource you are helping out. Open up the catalog file with poEdit and you will be presented with the main screen.
At the top you will see all the strings that need translated. To start translating just click on one. In the box below it will show the translation in the original string language. In the editBox below that you must now enter the translation. 

If your translation of a string is only a guess you can submit but mark as ''fuzzy'', meaning other translators can see that you are unsure. To mark as fuzzy click the question mark like icon on the bar, when you are selected on the string in question.

You may also want to add a comment that other translators can see. To do this just click on the notepad icon, and add your comment.


||<tablestyle="float:right; font-size: 0.9em; width:10%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Figure 1: Default poEdit screen layout'''<br><br>attachment:poedit-clearlooks.png||


===== poEdit and launchpad =====
An example (and how I use it) is to download .po files from the [http://launchpad.net Launchpad] website. This is a resource for many tasks within the *buntu communities. One section called ''Rosetta'' is aimed at helping translations. Once you have joined a team you can download a catalog of a section.
To do this click on a program to translate, then on the left hand column click ''Download'', confirm your email address and make sure it is exported as ''PO export''. You will be emailed confirmation and a link to the download.

=== Further Help ===
poEdit comes with a help file provided and can be acced by hitting ''F1''. You could also check out the sites [http://www.poedit.net/support.php Support] page.

=== Links ===
* [http://www.poedit.net/ poEdit main page]
* [https://translations.launchpad.net/translations/+about Rosetta Information]
* [http://launchpad.net Launchpad]

[[category:UbuntuHelp]]