WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libreoffice locales  (Read 5701 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
libreoffice locales
« on: June 03, 2012, 04:10:35 AM »
thanks
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: libreoffice locales
« Reply #1 on: June 03, 2012, 09:24:15 AM »
Adding in the locale data would double the extension size to around 500MB, and adding in the localized help packs would total the extension at around 1 GB. 

This is definitely a case where the ability to provide a separate locale or language pack makes sense.  Each individual language and help pack would average around 12mb.  One can simply download the main extension, and if they want, say, an Italian language and help pack, then one can simply download that separate extension.

The only other feasible way would be to just provide the top three or four languages contained in the main extension.  But even that would increase the size by about 50MB, and some folks would feel left out, and with no way to add their own language.

Like it is not feasible to include the huge sound font packages in the timidity extension, as that case too needs to allow a choice of sound fonts, libreoffice needs to be able to provide a choice of languages when it is not reasonable to include them in the package.  I will see what I can do, and if it can be done cleanly.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: libreoffice locales
« Reply #2 on: June 03, 2012, 03:20:41 PM »
Ok, I am uploading an updated libreoffice 3.5.4 that has the ability to add language and help packs.  I am uploading an Italian language pack now, and if others want their language supported they can mention it here. 

The language extension is called libreoffice3.5-it-langpack.scm, and it copies it's files into RAM in the writable /opt/scm/libreoffice directory.  I would have liked to use symlinks to save RAM, but upon testing libreoffice is broken if those symlinks exist when the language extension is uninstalled.  So best to stay with real files for now, the only other way would be an option or flag to make certain extensions not able to be uninstalled, but that can be addressed if there is a general benefit for it.

The Italian language pack takes up about 20MB of RAM, so using a persistent /opt would help for those with older machines.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: libreoffice locales
« Reply #3 on: June 03, 2012, 06:03:32 PM »
thanx Jason
Actually I don't use libreoffice, I installed core to a friend's computer cause he had big problems with win$ and he uses office programs, but it looked like he was wanting only win$ :(
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: libreoffice locales
« Reply #4 on: June 03, 2012, 07:25:12 PM »
Hi,
That's all good, as we need a test of concept in the large app area, like libreoffice, and how we can offer the normal add-ons that need to be available.  Basically the structure was already there, using /opt/scm/$extname as writable space that symlinks can point to, which similar was used in a previous distro and is necessary from time to time.

Thanks

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: libreoffice locales
« Reply #5 on: June 04, 2012, 03:54:31 AM »
the user inteface starts in english :(
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: libreoffice locales
« Reply #6 on: June 04, 2012, 06:49:31 AM »
After I make my mylocale.tcz and boot with lang=it_IT the user interface starts in Italian.

But I did make an adjustment to the language pack extension and re uploaded it, though that may or may not be the issue.

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: libreoffice locales
« Reply #7 on: June 04, 2012, 10:33:59 AM »
Quote
I am uploading an Italian language pack now, and if others want their language supported they can mention it here. 

Jasson, is possible to have the spanish language pack? Libreoffice is one of the essential package.

Thanks

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: libreoffice locales
« Reply #8 on: June 04, 2012, 12:07:43 PM »
Sure, I will make it now.

Also, I forgot to include the X libs in the main libreoffice extension, so I will reupload it too.


Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: libreoffice locales
« Reply #9 on: June 04, 2012, 04:27:48 PM »
Spanish language pack uploaded

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: libreoffice locales
« Reply #10 on: June 05, 2012, 03:01:31 AM »
I don't use Libreoffice that much but I'd appreciate a swedish language pack.

Offline Onyarian

  • Sr. Member
  • ****
  • Posts: 337
Re: libreoffice locales
« Reply #11 on: June 05, 2012, 03:16:31 PM »
Jason, thanks!, runs perfectly  ;D
(I make an libreoffice3.5.scm.dep to load the spanish langpack)  ;)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: libreoffice locales
« Reply #12 on: June 05, 2012, 04:25:50 PM »
Swedish language pack uploaded.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: libreoffice locales
« Reply #13 on: June 05, 2012, 04:27:18 PM »
Jason, thanks!, runs perfectly  ;D
(I make an libreoffice3.5.scm.dep to load the spanish langpack)  ;)
why don't put this dep in the repo?
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: libreoffice locales
« Reply #14 on: June 05, 2012, 04:33:44 PM »
Not everyone wants to load the Spanish language pack, so there is no need  to impose it on everybody.

I guess you mean why not have a libreoffice3.5-es-langpack.scm.dep that contains libreoffice3.5.scm in it.  I was pretty much leaving it to common sense that libreoffice3.5.scm also needs to be installed, but it is technically correct for the language pack to depend on the main extension, so I will create dep files.