gstreamer/po
Tim-Philipp Müller e060eec302 po: avoid conflicts of local *.po files with files in git
Make it so that filenames and line numbers are only stored in the *.pot file (which is not in git), but not in the
individual *.po files. This information is hardly useful for translators in our case, and it should avoid the constant
conflicts of local *.po files with the ones in git which are caused by the source files changing and the line numbers
being updated.

This commit is likely to cause one last merge conflict for you, which you can work around with "git checkout po/*.po"
before merging or pulling. After that there should (hopefully) not be any more local modifications of these files.
2009-02-05 23:19:14 +00:00
..
.gitignore Ignore another file 2009-01-23 23:09:42 +00:00
af.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
az.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
be.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
bg.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
ca.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
cs.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
da.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
de.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
en_GB.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
es.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
fi.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
fr.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
hu.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
id.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
it.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
ja.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
LINGUAS Release 0.10.22 2009-01-19 22:58:59 +00:00
Makevars po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
nb.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
nl.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
pl.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
POTFILES.in po/POTFILES.*: Update POTFILES. Fixes #461599. 2007-08-05 14:48:06 +00:00
POTFILES.skip po/POTFILES.*: Update POTFILES. Fixes #461599. 2007-08-05 14:48:06 +00:00
pt_BR.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
README docs/: add new API entries to the docs 2006-01-13 14:21:48 +00:00
remove-potcdate.sin Files needed for build 2003-10-09 01:22:21 +00:00
ru.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
rw.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
sk.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
sq.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
sr.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
sv.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
tr.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
uk.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
vi.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
zh_CN.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00
zh_TW.po po: avoid conflicts of local *.po files with files in git 2009-02-05 23:19:14 +00:00

The idiot's guide to managing this directory

Q: How do I add source files to be translated ? 
A: - Make sure the source file includes either gst-i18n-lib.h (if it's a part
     of a library/plugin) or gst-i18n-app.h (if it's an application)
   - Add the file path, relative to the top of the module, to POTFILES.in

Q: How do I add/mark strings to be translated ?
A: - Use N_(...) to mark for translation.
   - Use _(...) to get a translated string
   - run "make gstreamer-0.10.pot-update" to update the .pot file
     and check if your new strings got added

Q: How do I add a language ?
A: - copy gstreamer-0.10.pot to your new language.po
   - add the language code to LINGUAS
   - edit the header of this language.po file and make it match one of
     the existing .po files
   - translate the strings

Q: How do I update a language ?
A: - run make language.po-update to update your .po file
     (replace language with your language code)
   - edit the .po file, and translate the untranslated strings
   - run make install from the .po dir (so the updated strings get installed
     and will be used in the lib/app) and test if the new strings are
     translated
     (To check, you need to export LANG=ll_LL.  Make sure you add the last
      bit; ie. for Dutch you need export LANG=nl_NL)
   - commit