Formed .po file

I almost stupidly ask about it, but ... are there any good .po file samples there? I read the GNU gettext manual and while it defines the general structure, it is not as detailed as we would like. In addition, I would really like the actual file with the extension .po, which uses its more complex functions (for example, msgctxt , #| msgctxt , etc.), so that I can run tests against it.

Any tips on where to find something like this?

+4
source share
2 answers

Look at some big open source project like openSUSE (Linux distro) - po files are available at http://svn.opensuse.org/svn/opensuse-i18n/trunk/ , I’ll make sure you find everything there possible functions.

+5
source

Here is a simple

 # My comment #. Programmer comment #: location.c:23 #| msgctxt "Old context" #| msgid "Won" #, fuzzy msgctxt "Disambiguation for context" msgid "One" msgstr "Een" 

I think that is all. There are other things like obsolete units, c-format markers. I think I posted the previous posts # | in the right place and you can check the format.

+7
source

All Articles