Option is question is:
Tools / Options / LibreOffice Calc / Sort Lists
I would like to add more sort lists that ship as default with LibreOffice. Difference from already present sort lists would be in case (upper or lower).
This depends on bug 79983. If behaviour is changed then I can add more. If not, then there is no point.
I would like to add:
pon uto sri čet pet sub ned
PON UTO SRI ČET PET SUB NED
ponedjeljak utorak srijeda četvrtak petak subota nedjelja
PONEDJELJAK UTORAK SRIJEDA ČETVRTAK PETAK SUBOTA NEDJELJA
Sij Velj Ožu Tra Svi Lip Srp Kol Ruj Lis Stu Pro
SIJ VELJ OŽU TRA SVI LIP SRP KOL RUJ LIS STU PRO
Siječanj Veljača Ožujak Travanj Svibanj Lipanj Srpanj Kolovoz Rujan Listopad Studeni Prosinac
SIJEČANJ VELJAČA OŽUJAK TRAVANJ SVIBANJ LIPANJ SRPANJ KOLOVOZ RUJAN LISTOPAD STUDENI PROSINAC
This is an enhancement request. Change importance field accordingly.
Althrough the bug reporter should not mark his own bug to NEW, I think this one is reasonable, so I retain its status as NEW.
Can I get a pointer to whom I can send new calc sort lists for HR locale?
Created attachment 120440 [details]
Found out that sort lists are stored in \AppData\Roaming\LibreOfficeDev\4\user\registrymodifications.xcu
I edited that line, added new entries and sorted them. You can find everything in attached file. Just need a dev to add it to source. :)
It's for croatian language, HR locale.
registrymodifications.xcu is generated during runtime, there is no point we could stick that "patch" in. Specifically, the default sort lists are locale dependent and are generated from the locale data's day and month names.
Are you saying that for all day and month names, abbreviated and full names, you additionally want also uppercase lists?
Or even worse ;) for all entries have the defined entry, an uppercase entry, a lowercase entry and a capitalized entry..
(In reply to Eike Rathke from comment #4)
> registrymodifications.xcu is generated during runtime, there is no point we
> could stick that "patch" in. Specifically, the default sort lists are locale
> dependent and are generated from the locale data's day and month names.
> Are you saying that for all day and month names, abbreviated and full names,
> you additionally want also uppercase lists?
Not just uppercase, sometime lowercase is missing, or first capital letter missing.
I want to have everything is 3 lists, first capital letter, upper case, lower case:
And like this for every day/month name, abbreviated or full. It covers all normal use cases.
So you're saying I can't prepare list for you in any way because it's code generated. :(
Not as is. The best/cleanest we could do is extend the locale data format to allow additional lists and add a new interface to obtain all lists.
The hacked way would be to generate also the capital, upper and lower case variants from the already defined ones, if different. Sooner or later that would be wrong for some locale, e.g. if lower case names are not used at all.
Well, current sort list are already wrong (probably for more then one locale).
In croatian, you never write day or month name with first capital letter, except for "beauty" reasons of some kind, and that sort list is default (and only option) right now. :)
Then that would be wrong already in i18npool/source/localedata/data/hr_HR.xml where day names start with a capital letter.
(In reply to Eike Rathke from comment #9)
> Then that would be wrong already in
> i18npool/source/localedata/data/hr_HR.xml where day names start with a
> capital letter.
Yes, I edited that some time ago (bug 66376). Since it was already with capital letter from OO time, I though that was requirement of some kind and just left it like that.
Should we start moving this in some kind of direction or close it?
I agree that putting it into i18npool would be best. But I don't have anything against auto generated (and don't think other locales should also) since it will only appear if you spell something EXACTLY like that and then pull it into neighburing cells.
If you write every time as locale default, you will never know that different sort exist.