Bugs item #1959190, was opened at 2008-05-07 03:17
Message generated for change (Comment added) made by gingerdog
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1959190&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Languages
Group: SVN (please specify revision!)
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Odd Henriksen (oddhenriksen)
Assigned to: Nobody/Anonymous (nobody)
Summary: New Norwegian (bokmål) translation and languages.php patch
Initial Comment:
As discussed with gingerdog and christian_boltz in the discussion forum, I have created a new and complete Norwegian (bokmål) translation for Postfix Admin, based on the latest English translation (as far as I can see, latest revision is 358).
I ask that someone adds it to the repository.
Please note that the language code of this translation (nb) differs from the existing Norwegian translation (nn). This is intentional and it is the correct language code for this translation. I have explained this in greater detail in the thread "Regarding the Norwegian translation" in the discussion forum, if more information is desirable.
It is encoded in UTF-8, as it should be.
The file languages.php will obviously need an update, as there is currently no definition for "nb" in it. Furthermore, the old Norwegian translation (language code "nn") is simply listed as "Norwegian", falsely giving the impression that it is the primary Norwegian written language (which it is not). I have made a patch for languages.php where "nb" is added, and the language variants are explicitly specified, as it should be.
I'm attaching two files to this ticket:
nb.lang: New, full Norwegian (bokmål) translation
languages.php.patch: Patch (diff) for languages.php. Necessary for the new translation to be enabled.
In case any other information is needed, or there are any problems or uncertainties, please let me know.
I feel that I should also mention the following as a side note:
If Apache (or another web server for that matter) is configured with ISO-8859-1 as the default charset, the Postfix Admin pages will not by default be displayed in UTF-8 encoding. That obviously makes any translation with national characters look gibberish. I've fixed this on my own PA installation, and will create another ticket about this with a patch for templates/header.php (I've simply added one header() command). I have explained this matter in greater detail in the discussion forum, under the thread "Charset encoding".
----------------------------------------------------------------------
>Comment By: GingerDog (gingerdog)
Date: 2008-05-07 05:29
Message:
Logged In: YES
user_id=1761957
Originator: NO
Uploaded/patched in changeset 360 - many thanks.
----------------------------------------------------------------------
Comment By: Odd Henriksen (oddhenriksen)
Date: 2008-05-07 03:19
Message:
Logged In: YES
user_id=1672080
Originator: YES
File Added: language.php.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1959190&group_id=191583
|