GNOME Bugzilla – Bug 318043
Autofill fuction not localized
Last modified: 2005-10-09 20:50:13 UTC
It seems that autofill of weekdays and months (names) works only for words in English language. Steps to reproduce- 1. Start Gnumeric in a non-C locale (i.e. `LANG=it LANGUAGE=it_IT gnumeric` for Italian) 2. Put in A1 "Gennaio" (== January) 3. Use autofill (Ctrl+drag) Results: "Gennaio" is replied in all selected cells. Trying the same using "January", it works fine. Of course same behavior for weekdays names. Aspected results: Gnumeric should be able to select the language from the "template" string. I.e. starting Gnumeric using Italian localization but using the French name for January, autofill function should place month names in French language. Notes: Not sure, but Excel should be able to do something like Bimestral1 Bimestral2 Bimestral3 Bimestral4 Bimestral5 Bimestral6 Bimestral1 Bimestral2 ...
Confirmed
Created attachment 53096 [details] [review] a not so good fix The strings are now in goffice, that's why the translations were not found.
That is an ugly kludge, but with 1 day before release we don't have a lot of choice. Commit with a #warning to move the lists to go_locale for 1.7
Comment on attachment 53096 [details] [review] a not so good fix I tested the Bimester1... stuff with xl2k. It does not work, but things work with Trimester. I get Trimester1 to Trimester4 and the back to Trimester1.
Hmm: Expected results: Gnumeric should be able to select the language from the "template" string. I.e. starting Gnumeric using Italian localization but using the French name for January, autofill function should place month names in French language. This is not a reasonable expectation: Suppose I enter "August" and "September" and then "autofill". Should the next cell be "October" (English) or "Oktober" (German). We should pretty much stick with the current locale.
Agreed, anyway, gnumeric will never load strings in all available locales.
1) I don't see a huge win to load all translations of all lists for checking. 2) This patch seems sufficient for now.