Add 'Language' header
Bug #558682 reported by
AJenbo
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Poedit needs an additional header to enable spellchecking.
Heres a sample:
"X-Poedit-Language: Danish"
summary: |
- add X-Poedit-Language for automatic spellchecking in Poedit + Add 'Language' header |
To post a comment you must log in.
Poedit developer here.
Poedit uses X-Poedit-Language (*and* X-Poedit-Country) to determine the language, true. But it doesn't *need* it if it can determine the language by other means, i.e. by looking at the file name. Poedit 1.4 understands only names that are lang codes ("cs.po", "en_GB.po" etc.), Poedit 1.5 understands anything.LANG.po style too.
Future versions (1.5 or 1.6) will understand the "Language" header (e.g. "Language: en_GB") that will be part of gettext 0.18 and will deprecate these X-Poedit-* headers.