Apache OpenOffice (AOO) Bugzilla – Issue 53727
language pack should be platform independent
Last modified: 2013-08-07 15:26:47 UTC
Language packs contain various parts: - help files in the apropriate language - resource file - some other files (extras, ...) it would be nice to have language packs as platform independent packages installable via UI. See e.g. how Mozilla handles them. This could save unbelievable amount of disk space for all of us, can provide nice and easy to use UI for our users. It could also help us to test multiplatformness and unify file formats etc. Later today, I'll provide comparison between m125 language packs for Windows and Linux. This is probably for 3.0 (or even later).
.
reassigned
Resource files comparison: I have compared resource files from Czech language packs on GNU/Linux and Windows: pavel@paveljanik:/tmp/q/res> ls -1 Linux|wc -l 64 pavel@paveljanik:/tmp/q/res> ls -1 Windows|wc -l 63 -> GNU/Linux doesn't have opc680cs.res -> GNU/Linux doesn't have spa680cs.res -> Windows doesn't have san680cs.res Other differences: sw680cs.res on GNU/Linux and Windows have different sizes: pavel@paveljanik:/tmp/q/res> ls -l */sw680cs.res -r--r--r-- 1 pavel users 286618 2005-08-24 18:05 Linux/sw680cs.res -r--r--r-- 1 pavel users 286672 2005-08-24 18:06 Windows/sw680cs.res The other differemce is: --- epb680cs.res-linux.hexdump 2005-08-24 18:28:34.000000000 +0200 +++ epb680cs.res-windows.hexdump 2005-08-24 18:28:38.000000000 +0200 @@ -1,5 +1,5 @@ 00000000 00 00 01 00 00 00 01 11 00 00 00 1c 00 00 00 1c |................| -00000010 46 69 6c 65 46 6f 72 6d 61 74 00 40 00 00 3e ed |FileFormat.@..>Ã| +00000010 46 69 6c 65 46 6f 72 6d 61 74 00 00 00 00 3e ed |FileFormat....>Ã| This is diff of hexdump -C on both GNU/Linux and Windows versions of epb680cs.res, one of the shortest resource file. The only difference is 0x40 vs 0x00. We think that this is different representation of strings on both platforms. This difference is very similar in other offsets: -00000340 00 00 00 18 00 00 00 18 42 75 74 74 6f 6e 00 01 |........Button..| +00000340 00 00 00 18 00 00 00 18 42 75 74 74 6f 6e 00 bf |........Button.¿| string, 0, "random" byte on Windows or 0 on GNU/Linux.
During the process of building Jambo OpenOffice.org 1.1.3, i managed to update the translation of a windows version by using Linux-built resource files and repacking all the stuff again for windows. Once a Linux built was finished, resources files where copied into a Windows solver and the software was repacked again. I spent a few long nights trying to understand the resource files format in order to build them for Windows using just Linux. Once a OOo version is built for Windows new updated translations can be merged using just Linux. Does anyone understand what a .res file exactly is? is a DB? can I build them by other means? Is it possible in OOo 2.0 to do what i did in 1.1.x? Or the whole MS Installer requires Windows again? In 1.1.x ZIP made the job.
pjanik: please investigate the current status in 2.0.4...
as of SRC680, *.res files with different content on different platforms can be considered a bug. please files a seperate issue if this is still the case. regarding the content of the language pack itself, i'll CC is.
Created attachment 39586 [details] gzipped diff of all resources' hexdump -C in my build of OOD680_m5
OOD680_m5: diff attached. All other files are of the same size. So with resources, only this problem remains - I'll file separate issue for it.
Does somebody working on this issue?