-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Frugalware-Art.org Artwork for Frugalware Linux 
 Arch-Stuff.org Artwork and Stuff for Arch Linux 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com    Open-PC.com   
CLI-Apps.org - Command Line Interface Apps
CLI-Apps.orgCLI-Apps.org

 Dec 22 2014  
 Not logged in  
CLI-Apps.org
 Home    Add App   Forum   Groups   Knowledge   Events   Jobs   Users   Register   Login-


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

poreviewtool

   0.2  

CLI quality assurance

Score 53%
Downloads:  28
Submitted:  Sep 19 2010
Updated:  Sep 19 2010

Description:

This is a tool to review the user visible strings of your program. It is made for developers who do not speak english well but are coding in english and want their user visible texts to be reviewed. This program relies on the gettext utils. It uses a .po file for the review process.


Use this syntax:

poreviewtool COMMAND [OPTIONS]



Review english user visible strings within your source code

This is a tool to review the user visible strings of your program. It is
made for developers who don't speak english well but are coding in english
and want their user visible texts to be reviewed. This program relies on the
gettext utils. It uses a .po file for the review process. Here is a little
step-by-step guide to use this program:

1.) We assume that you are familar with the gettext utils and yet using i18n()
(or comparable) for all user visible strings within your sourcecode.

2.) We assume that you have yet created a translation template (.pot file) and
are keeping it up-to-date.

3.) Create a .po file for the review process:
msginit --locale=en_US -i MYPROGRAMNAME.pot -o MYPROGRAMNAME_en_US.po
You should make sure that your review .po file isn't located in the
directory of your normal .po files or in one of its subdirectories
because usually the scripts that keep up to date the .po files would
catch it also and merging it like normal translation files would have
side effecte.

4.) Use 'poreviewtool msgmerge' to merge updates of the .pot file to
MYPROGRAMNAME_en_US.po

5.) Send MYPROGRAMNAME_en_US.po to the person who will do the review of
the string. The msgid ('original string') it treated as the string that
has to be reviewed. msgstr ('translation') is used to put the review
result: Either the very same string if the original was okay, or the
corrected version if the original was bad.

6.) When you get back the .po file, put it in its place in your sources
(overwriting the old one) and merge again like in 4.)

7.) Call:
cat MYPROGRAMNAME_en_US.po | poreviewtool dump-difference > pending-changes.po
This will generate the file 'pending-changes.po' that contains only these
entries which have to be corrected. Read this file and make the
corresponding changes in your source code.

BTW: afterthedeadline.com and polishmywriting.com provide high quality
english spell and grammar checkers as open source!



Commands are:

dump-difference
Reads a .po file from stdin and puts out only the
entries of the .po file for which the translation differes from the
original (empty translations are always ignored). Writes to stdout.

msgmerge POFILE POTFILE
This command merges the changes in POTFILE into
POFILE. This command differs from the 'msgmerge' command of the gettext
utils! It will
1. remove fuzzy 'translations'
2. produce dummy entries that prevent that prevent that (after inserting
the corrections in the source code) the reviewer will be prompted again
for the now changed strings
3. merge PO and POT file, but without fuzzy matching and guarding all
obsolete translations as comments. (The last one will increase the file
size, but makes sure that once a string is reviewed as 'okay', this
information will not be lost if the string disappears in the sources. If
it re-appears in a later version of the sources, the review will be yet
available.

dump-translation:
dumps only the translations as simple plain text file (fuzzy translations
are ignored). This is for normal .po translations, NOT for the english
string review .po files.



License:
GPL v2 only

(source code)
(binary packages)
RedHat RHEL-6 (ppc64)
RedHat RHEL-6 (x86_64)
RedHat RHEL-6 (i686)
RedHat RHEL-6 (x86_64)
RedHat RHEL-6 (i686)
RedHat RHEL-6 (ppc64)
CentOS CentOS-6 (x86_64)
CentOS CentOS-6 (i686)
CentOS CentOS-6 (x86_64)
CentOS CentOS-6 (i686)
Send to a friend
Subscribe
Other  Apps  from sommerluk
Report inappropriate content



Add commentBack






-

Copyright 2007-2014 CLI-Apps.org Team  Legal Notice
All rights reserved. CLI-Apps.org is not liable for any content or goods on this site.
You can find our FAQ here.
All contributors are responsible for the lawfulness of their uploads.
Please send us a notice if you spot an ABUSE of the website.
Information about advertising in CLI-Apps.org.
Developers can use our public webservice interface. More information here: public api
For further information or comments on this site, please send us a message

Content RSS   
Events RSS