https://bugs.freedesktop.org/show_bug.cgi?id=58592
tommy27 <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|: Autocorrection does not |Italian Autocorrection |have some common mistaken |misses some common mistakes |in Italian | --- Comment #10 from tommy27 <[email protected]> --- @Marco Menardi nice catch!!! I do not know why LibO 4.0 beta .xml files lack that line ( <?xml version="1.0"?> ). However it doesn't seems to cause problems. from what I know about LibO autocorrection, all the .dat files stored in the “C:\Program Files (x86)\LOdev 4.0\share\autocorr” (i.e. acor_de-DE.dat ; acor_en-GB.dat ; acor_it-IT.dat etc. etc.) represent a kind of temporary default set of autocorrect entries for each language that come with LibO at first start. if you add a new custom entry in one of those autocorrect lists, let's say “German (Germany)” , a new acor-de-DE.dat file will be created in the user profile under: "C:\Users\YourName\AppData\Roaming\LOdev\4\user\autocorr" (on Vista 64bit) the new .dat file will contain the default entries previously stored in “share\autocorr” and the new custom entry. so the .dat files from “C:\Program Files (x86)\LOdev 4.0\share\autocorr” serve as the base to start a custom new autocorrect database which is stored in the User profile. the DocumentList.xml files contained inside the .dat files have the structure I described earlier with small differences in the first line. in LibO 3.6.x the first line is: <?xml version="1.0"?> in the "share/autocorr" folder <?xml version="1.0" encoding="UTF-8"?> in the "user/autocorr" folder ................................... in LibO 4.0 beta2 the first line is: missing in the "share/autocorr" folder as you pointed out <?xml version="1.0" encoding="UTF-8"?> in the "user/autocorr" folder this causes no issues, since from test I've done, if you add a new autocorrect entry to one "virgin" database without first line, let's say "acor_pl-PL" (Polish) in the "share/autocorr", the resulting "acor_pl-PL" "user/autocorr" folder will have that <?xml version="1.0" encoding="UTF-8"?> first line. P.S. by the way I changed the bug summary notes which had some english mistakes ... funny isnt' it? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
