Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more options for header #4

Open
Aetles opened this issue May 27, 2014 · 2 comments
Open

Add more options for header #4

Aetles opened this issue May 27, 2014 · 2 comments

Comments

@Aetles
Copy link

Aetles commented May 27, 2014

Being able to customize these lines from the header of the .pot file through options would be nice:

# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.```
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
@stephenharris
Copy link
Owner

Hi @Aetles - I agree, but there's no option exposed for this with xgettext - I believe the thinking is that the header ought to be edited by the translator (or their .po editor). Specifically the examples on the pology hint at this (with perhaps the exception of the copyright).

@Aetles
Copy link
Author

Aetles commented Oct 30, 2014

Yeah, I realize the header in the .pot file does not matter (not much anyway) and it's the tool that the translators use that should add correct headers in the .po files they create (GlotPress i my case).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants