Currently there is no latvian locale in FreeBSD. At least two locales should be added lv_LV.UTF-8 and lv_LV.ISO8859-13. Fix: /usr/src/share/colldef/lv_LV.ISO8859-13.src /usr/src/share/mklocale/lv_LV.ISO8859-13.src /usr/src/share/monetdef/lv_LV.ISO8859-13.src /usr/src/share/msgdef/lv_LV.ISO8859-13.src /usr/src/share/numericdef/lv_LV.ISO8859-13.src /usr/src/share/timedef/lv_LV.ISO8859-13.src /usr/src/share/colldef/lv_LV.UTF-8.src /usr/src/share/mklocale/lv_LV.UTF-8.src /usr/src/share/monetdef/lv_LV.UTF-8.src /usr/src/share/msgdef/lv_LV.UTF-8.src /usr/src/share/numericdef/lv_LV.UTF-8.src /usr/src/share/timedef/lv_LV.UTF-8.src files have to be created and corresponding Makefiles updated. How-To-Repeat: Checking "locale -a" confirms this.
These additional files and diffs add lv_LV.UTF-8 and lv_LV.ISO8859-13 locales. Eriks Dobelis
In case it is easier this is an URL where the patch archive can be found: http://www.biti.lv/latvian_locale_patch.tar.gz Eriks Dobelis
Could it be possible for somebody to review and submit the previously added patch? It's just about adding missing locale, so probability of adverse impact is minimal.
Updated as for Andrey's comments. Please, review! P.S. I was a bit confused why BSD.local.dist should be untoched as e.g. lt locales lt_LT.ISO8859-13, lt_LT.ISO8859-4, lt_LT.UTF-8 are there. Anyway, I removed BSD.local.dist.diff from the patch archive. Regards!
Could somebody take a look at the previously submitted patch, please? Thanks in advance!
Could somebody review and submit this trivial patch, please? Thanks in advance, Eriks
State Changed From-To: open->feedback About your patch v2, it requires more work: 1) Please use unified diff format (diff -u) since line numbers are out of sync in the development branch. 2) There must be no symlinks in the source directories, all symlinks should be created at the install stage by Makefile itself (if properly assigned). Also please don't use binary attachments in the PRs - they are hard to extract due to flatten MIME structure. Your question about BSD.local.dist: only locales used by 5 or more ports goes there.
Responsible Changed From-To: freebsd-bugs->ache Assign to me.
I've updated original patch, so that it can be applied to FreeBSD-8-Beta3 To patch FreeBSD-8-Beta3 you need to download patch to /usr and run # cd /usr # patch -p < lv_patch.diff after that, to update FreeBSD, run: # mkdir /usr/share/local/lv_LV.UTF8 # mkdir /usr/share/local/lv_LV.ISO8859-13 # cd /usr/src/share # make # make install That should be it. P.S. I attached file to this e-mail If anything let me know... Alternative patch download link: http://www.failiem.lv/down.php?i=sonhzm&n=lv_patch.diff -- Aldis Berjoza http://killasmurf86.blogspot.com *** MÄKLÄJU DARBU :D *** Tev ir vienreizÄja iespÄja iegÅ«t labu darbinieku IT sfÄrÄ, ar lielu motivÄciju pilnveidoties un apgÅ«t jaunas zinÄÅ¡anas CV: http://www.cv.lv/client/fullcv.php?cv_id=3227015 nepalaid garÄm :D My public GPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7ED573D3
Author: ache Date: Fri Sep 4 05:54:45 2009 New Revision: 196812 URL: http://svn.freebsd.org/changeset/base/196812 Log: Add lv_LV PR: 105100 Submitted by: Aldis Berjoza <killasmurf86@gmail.com> Added: head/share/monetdef/lv_LV.ISO8859-13.src (contents, props changed) Modified: head/share/monetdef/Makefile Modified: head/share/monetdef/Makefile ============================================================================== --- head/share/monetdef/Makefile Fri Sep 4 05:40:06 2009 (r196811) +++ head/share/monetdef/Makefile Fri Sep 4 05:54:45 2009 (r196812) @@ -44,6 +44,7 @@ LOCALES= af_ZA.ISO8859-1 \ ko_KR.eucKR \ ko_KR.UTF-8 \ lt_LT.ISO8859-13 \ + lv_LV.ISO8859-13 \ mn_MN.UTF-8 \ nl_BE.ISO8859-1 \ nl_NL.ISO8859-1 \ @@ -117,7 +118,7 @@ ISO8859-2_UTF-8= hr_HR hu_HU ro_RO sk_SK ISO8859-7_UTF-8= el_GR ISO8859-9_UTF-8= tr_TR ISO8859-13_ISO8859-4= lt_LT -ISO8859-13_UTF-8= lt_LT +ISO8859-13_UTF-8= lt_LT lv_LV ISO8859-15_ISO8859-15= es_ES:eu_ES ISO8859-15_UTF-8= et_EE UTF-8_Big5HKSCS= zh_HK Added: head/share/monetdef/lv_LV.ISO8859-13.src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/monetdef/lv_LV.ISO8859-13.src Fri Sep 4 05:54:45 2009 (r196812) @@ -0,0 +1,36 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# int_curr_symbol (last character always SPACE) +LVL +# currency_symbol +Ls +# mon_decimal_point +, +# mon_thousands_sep + +# mon_grouping, separated by ; +3;3 +# positive_sign + +# negative_sign +- +# int_frac_digits +2 +# frac_digits +2 +# p_cs_precedes +0 +# p_sep_by_space +1 +# n_cs_precedes +0 +# n_sep_by_space +1 +# p_sign_posn +1 +# n_sign_posn +1 +# EOF _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Author: ache Date: Fri Sep 4 06:19:37 2009 New Revision: 196813 URL: http://svn.freebsd.org/changeset/base/196813 Log: Add lv_LV PR: 105100 Submitted by: Aldis Berjoza <killasmurf86@gmail.com> Added: head/share/msgdef/lv_LV.ISO8859-13.src (contents, props changed) head/share/msgdef/lv_LV.UTF-8.src (contents, props changed) Modified: head/share/msgdef/Makefile Modified: head/share/msgdef/Makefile ============================================================================== --- head/share/msgdef/Makefile Fri Sep 4 05:54:45 2009 (r196812) +++ head/share/msgdef/Makefile Fri Sep 4 06:19:37 2009 (r196813) @@ -40,6 +40,8 @@ LOCALES= af_ZA.ISO8859-1 \ ko_KR.UTF-8 \ ko_KR.eucKR \ lt_LT.ISO8859-13 \ + lv_LV.ISO8859-13 \ + lv_LV.UTF-8 \ mn_MN.UTF-8 \ nl_NL.ISO8859-1 \ no_NO.ISO8859-1 \ Added: head/share/msgdef/lv_LV.ISO8859-13.src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/msgdef/lv_LV.ISO8859-13.src Fri Sep 4 06:19:37 2009 (r196813) @@ -0,0 +1,14 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# yesexpr +^[jJyY].* +# noexpr +^[nN].* +# yesstr +jâ +# nostr +nç +# EOF Added: head/share/msgdef/lv_LV.UTF-8.src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/msgdef/lv_LV.UTF-8.src Fri Sep 4 06:19:37 2009 (r196813) @@ -0,0 +1,14 @@ +# $FreeBSD$ +# +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# yesexpr +^[jJyY].* +# noexpr +^[nN].* +# yesstr +jÄ +# nostr +nÄ +# EOF _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Author: ache Date: Fri Sep 4 06:26:40 2009 New Revision: 196814 URL: http://svn.freebsd.org/changeset/base/196814 Log: Add lv_LV PR: 105100 Submitted by: Aldis Berjoza <killasmurf86@gmail.com> Added: head/share/timedef/lv_LV.ISO8859-13.src (contents, props changed) head/share/timedef/lv_LV.UTF-8.src (contents, props changed) Modified: head/share/timedef/Makefile Modified: head/share/timedef/Makefile ============================================================================== --- head/share/timedef/Makefile Fri Sep 4 06:19:37 2009 (r196813) +++ head/share/timedef/Makefile Fri Sep 4 06:26:40 2009 (r196814) @@ -53,6 +53,8 @@ LOCALES= am_ET.UTF-8 \ lt_LT.ISO8859-4 \ lt_LT.ISO8859-13 \ lt_LT.UTF-8 \ + lv_LV.ISO8859-13 \ + lv_LV.UTF-8 \ mn_MN.UTF-8 \ nb_NO.ISO8859-1 \ nb_NO.UTF-8 \ Added: head/share/timedef/lv_LV.ISO8859-13.src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/timedef/lv_LV.ISO8859-13.src Fri Sep 4 06:26:40 2009 (r196814) @@ -0,0 +1,101 @@ +# $FreeBSD$ +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# Short month names +# +Jan +Feb +Mar +Apr +Mai +Jûn +Jûl +Aug +Sep +Okt +Nov +Dec +# +# Long month names +# +janvâris +februâris +marts +aprîlis +maijs +jûnijs +jûlijs +augusts +septembris +oktobris +novembris +decembris +# +# Short weekday names +# +Sv +Pr +Ot +Tr +Ct +Pk +Ss +# +# Long weekday names +# +Svçtdiena +Pirmdiena +Otrdiena +Treðdiena +Ceturtdiena +Piektdiena +Sestdiena +# +# X_fmt +# +%H:%M:%S +# +# x_fmt +# +%d/%m/%Y +# +# c_fmt +# %A, %Y m. %B %e d. %T +%e. %b, %Y. gads %X +# +# am +# + +# +# pm +# + +# +# date_fmt +# +%A, %Y. gada %e. %B %T %Z +# +# Long month names in alternative form +# +janvâris +februâris +marts +aprîlis +maijs +jûnijs +jûlijs +augusts +septembris +oktobris +novembris +decembris +# +# md_order +# +md +# +# ampm_fmt +# + +# EOF Added: head/share/timedef/lv_LV.UTF-8.src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/timedef/lv_LV.UTF-8.src Fri Sep 4 06:26:40 2009 (r196814) @@ -0,0 +1,101 @@ +# $FreeBSD$ +# WARNING: spaces may be essential at the end of lines +# WARNING: empty lines are essential too +# +# Short month names +# +Jan +Feb +Mar +Apr +Mai +JÅ«n +JÅ«l +Aug +Sep +Okt +Nov +Dec +# +# Long month names +# +janvÄris +februÄris +marts +aprÄ«lis +maijs +jÅ«nijs +jÅ«lijs +augusts +septembris +oktobris +novembris +decembris +# +# Short weekday names +# +Sv +Pr +Ot +Tr +Ct +Pk +Ss +# +# Long weekday names +# +SvÄtdiena +Pirmdiena +Otrdiena +TreÅ¡diena +Ceturtdiena +Piektdiena +Sestdiena +# +# X_fmt +# +%H:%M:%S +# +# x_fmt +# +%d/%m/%Y +# +# c_fmt +# %A, %Y m. %B %e d. %T +%e. %b, %Y. gads %X +# +# am +# + +# +# pm +# + +# +# date_fmt +# +%A, %Y. gada %e. %B %T %Z +# +# Long month names in alternative form +# +janvÄris +februÄris +marts +aprÄ«lis +maijs +jÅ«nijs +jÅ«lijs +augusts +septembris +oktobris +novembris +decembris +# +# md_order +# +md +# +# ampm_fmt +# + +# EOF _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->patched Committed into -current (restructured to avoid files duplication)
Responsible Changed From-To: ache->freebsd-bugs Committed into -current (restructured to avoid files duplication)
State Changed From-To: patched->closed MFCed/fixed by now