Hi, Patrick Cardona wrote:
One maybe important think I noted: the French UI is not functioning like the English one. For example, I can use the menu command "Person > Delete (#d)" in the English UI while the French command "Effacer" is grayed. I guess the French translated UI is outdated.
That's stupid. I just checked and noticed that L18N was done by generating multiple gorm files. This is really the last resort, since it makes things unmanageable in terms of changes. Multi-language is a high burden. I dont' know the best way to do it, but for sure I prefer to maintain just a string file. I'll see what I can do in the short and long term here.
If you have a problem, please always test in English (or the native version you think the App is developed in) before reporting a bug.
I built again the Framework and the App from the subversion revision 4072. I tried again with the French UI and these steps: (1) a new person created within AddressManager (2) Then this person exported to a vcard by AddressManager itself (3) Imported as a modified new person (alias name -bis). (4) Then exported again. (5) Imported again (alias name -ter) (6) Exported again
This test is a fine loop... but you cannot check a proper import if the export is bad. So please test with other sources if you can.
What I noted : Step (2) - first export The 'bday' date format (that was shown as 'dd/mm/yyyy' as expected in the French format) in AddressManager became 'yyyy-dd-mm' in the exported vcard. See below:
To my knowledge of vCard (but... check yourself various RFC versions and try to interpret) it is wrong.
BEGIN:VCARD VERSION:2.1 X-GENERATOR:Addresses for GNUstep pre-1.0 N:Cardona;Patrick;;; BDAY:1962-09-07 TEL;WORK;VOICE;X-GNUSTEPLABEL=WorkPhone;X-GNUSTEPID=1;1:0605040302 TEL;HOME;VOICE;X-GNUSTEPLABEL=HomePhone;X-GNUSTEPID=2;2:0203040506 ADR;HOME;X-GNUSTEPLABEL=HomeAddr;X-GNUSTEPID=1;1:BP 34;LE POLE;RUE DU POLE;POLE;Hérault;34000;FRANCE ADR;WORK;X-GNUSTEPLABEL=WorkAddr;X-GNUSTEPID=2;2:;Rue de des Abeilles;Lycée Pasteur;Utopia;;;France URL:https://patrick.cardona.example.fr EMAIL;INTERNET;WORK;X-GNUSTEPLABEL=WorkEmail;X-GNUSTEPID=1;1:[email protected] EMAIL;INTERNET;HOME;X-GNUSTEPLABEL=HomeEmail;X-GNUSTEPID=2;2:[email protected] NOTE:Une note avec des caractères accentués. END:VCARD
At a glance, this is wrong too. I think TEL;WORK;VOICE;X-GNUSTEPLABEL=WorkPhone;X-GNUSTEPID=1;1:0605040302 should read TEL;type=work;type=voice;X-GNUSTEPLABEL=WorkPhone;X-GNUSTEPID=1;1:0605040302 what do you think?
It seems the distinction between work and home email is lost after the first export.
Exactly, I think the export is wrong.. it is now mismatched to the import which I believe is correct.
Riccardo
