Bug 204266 - Improvement of 3. Translating Software
Summary: Improvement of 3. Translating Software
Alias: None
Product: Fedora Documentation
Classification: Fedora
Component: translation-quick-start-guide
Version: devel
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Manuel Ospina
QA Contact: A S Alam
Keywords: Translation
Depends On:
TreeView+ depends on / blocked
Reported: 2006-08-28 00:38 UTC by Noriko Mizumoto
Modified: 2015-11-10 00:09 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2006-09-19 00:22:05 UTC

Attachments (Terms of Use)

Description Noriko Mizumoto 2006-08-28 00:38:54 UTC
Description of problem:
Important information of sync for software translation is missing.
Before starting software translation, it is important to sync own po with pot
file. It would be helpful if this procedure/information can be in the guide.


Version-Release number of selected component (if applicable):
translation-quick-start-guide-0.3.3 (2006-08-06) 

How reproducible:

Comment 1 Manuel Ospina 2006-09-18 00:23:07 UTC
New step added explaining how to sync the po file to reflect the latest pot file.

Comment 2 Manuel Ospina 2006-09-18 01:51:58 UTC
Built with no problems. Please proofread it.  

Comment 3 Noriko Mizumoto 2006-09-18 03:06:19 UTC
I've read through, and wonder if 'msgfmt -cvo /dev/null tmp.po' step can be also
added to make sure the file's integrity. In case this command return a sytax
error, then the translator can file a bug asking pkg maintainer to correct it
for all languages. 

How about this?;
3. Before start translating, make sure the .po file reflects the latest .pot.
Run the following command to syncronize your .po file: 

msgmerge lang.po package_name.pot > tmp.po (**currently it says tmp-file)

4. Check the integrity of it's file, run the following command.

msgfmt -cvo /dev/null tmp.po

5. Make sure no error message, then run the following command to overwrite
lang.po with tmp.po.

mv tmp.po lang.po

Note: If you get an error message, it may be required some correction in pot by
it's package maintainer. You can file a bug against that package asking for
correction. In this case including a copy of the output from msgfmt in the bug
will help the package maintainer.

Manuel, please modify my bad english wherever necessary.


Comment 4 Manuel Ospina 2006-09-19 00:22:05 UTC
Added. I didn't include the note as msgfmt doesn't check the pot file only the
po file.

Note You need to log in before you can comment on or make changes to this bug.