Bug 94207 - i18n: add locale data for Botswana [en_BW]
Summary: i18n: add locale data for Botswana [en_BW]
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Eike Rathke
URL:
Whiteboard: target:5.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-14 08:56 UTC by siddharth
Modified: 2016-10-25 19:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Locale data file for en_BW (1.81 KB, text/xml)
2015-09-14 08:56 UTC, siddharth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description siddharth 2015-09-14 08:56:52 UTC
Created attachment 118692 [details]
Locale data file for en_BW

Please add locale data for Botswana [en_BW]. The locale is exactly the same as en_GB, except for the currency. 

Locale data file is attached.

Thanks!
Comment 1 Eike Rathke 2015-09-14 09:23:35 UTC
(In reply to siddharth from comment #0)
> Please add locale data for Botswana [en_BW]. The locale is exactly the same
> as en_GB, except for the currency.

Nice, that already uses the ref=... mechanism. I'll just have to come up with a new LCID value for en-BW instead of 0x9009.

Thanks
Comment 2 Commit Notification 2015-09-14 10:00:25 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=4de6fd143282d77086217e1ec7652dce0d937f82

add English (Botswana) [en-BW] 0x9809 to language list, tdf#94207 preparation

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2015-09-14 10:00:29 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=c3b4f7b55e87edb56ae0d08e1902269f0b2e8c9a

add English Botswana [en-BW] locale data, tdf#94207

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 4 Eike Rathke 2015-09-14 10:11:16 UTC
As the currency symbol is actually "P" instead of "D" and the new LCID is 0x8909, I changed the replaceTo="[$D-9009]" to replaceTo="[$P-9809]".
Comment 5 siddharth 2015-09-14 10:26:26 UTC
(In reply to Eike Rathke from comment #4)
> As the currency symbol is actually "P" instead of "D" and the new LCID is
> 0x8909, I changed the replaceTo="[$D-9009]" to replaceTo="[$P-9809]".


Sorry, it was on oversight on my part; I copied the locale data file from en_GM (Gambia).

Thanks!