WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Change user interface language (libreoffice) 5.2.3.3 TC 10.1  (Read 3932 times)

Offline Santos

  • Full Member
  • ***
  • Posts: 113
Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« on: February 16, 2021, 04:38:35 AM »
Hello

I was trying to change the language of my libreoffice installation. I installed libreoffice_lang with no luck (there is no options for UI language besides english) and I'm wondering if I need to first load this extension and then libreoffice.tcz or it doesn't matter?

I assume libreoffice_lang will have all official languages like Spanish, but I could be wrong.

Any help will be very much appreciated. Thank you.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #1 on: February 16, 2021, 10:07:32 AM »
Hi Santos!
Maybe next time you will specify what TC architecture you use, 32 or 64 bits ;)
Anyway, looking in
Code: [Select]
http://mirrors.dotsrc.org/tinycorelinux/10.x/x86_64/tcz/libreoffice.tcz.info
Current:        2019/04/11 updated 6.0.1.1 -> 6.2.2.2

http://mirrors.dotsrc.org/tinycorelinux/10.x/x86/tcz/libreoffice.tcz.info
Current:    2017/06/10 updated 4.4.0.3 -> 5.2.3.3 (juanito)

http://mirrors.dotsrc.org/tinycorelinux/10.x/x86/tcz/libreoffice_lang.tcz.dep
libreoffice.tcz
so, you use tc 32 bits. Then load first libreoffice_lang.tcz, which will auto load libreoffice.tcz (its dependency).
inside http://mirrors.dotsrc.org/tinycorelinux/10.x/x86/tcz/libreoffice_lang.tcz.list
here you will see Spanish files like/usr/local/lib/libreoffice/share/config/soffice.cfg/cui/ui/res/es.zip; Any *es -> Spain
« Last Edit: February 16, 2021, 10:15:08 AM by nick65go »

Offline Santos

  • Full Member
  • ***
  • Posts: 113
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #2 on: February 16, 2021, 09:59:17 PM »
It is correct I'm running Tiny Core 10.1 x86.

So I went ahead and reboot my computer just to be on the safe side. Loaded firmware, Xorg, xf86-video, jwm and libreoffice_lang.

Still I've got same issue. Can't find any entry but english for the user interface.

The reason why is because I need to write a lot of documents and everything is almost exclusively in spanish.

Thank you very much for answering, any help is appreciated.

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #3 on: February 17, 2021, 01:23:08 AM »
Hi, Santos!

You didn't mention mylocale.tcz loaded. Have You created it with the help of getlocale.tcz?

Offline Santos

  • Full Member
  • ***
  • Posts: 113
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #4 on: February 17, 2021, 03:54:26 PM »
Ok, thank you.

Yes, I do have mylocale loaded, which includes en_US.UTF8 (for compatibility) and several variants of (GT, MX, etc) es_ES.UTF8 (the 'original' standard as well, I can't remember, CP8088-2?, something like it).

What I have loaded is:
mylocale.tcz (generated from the script in the repo)
Xorg
JWM
aterm
libreoffice_lang
libreoffice

When loading there is no obvious error on the console output.
It doesn't matter what's the order I load the extensions, the result is the same. I will try to download all files again, since I'm using local files I downloaded a couple of months ago, maybe I screwed something up.

Let's see.

I will come back with the results.

EDIT: Added info. about mylocale.tcz
« Last Edit: February 17, 2021, 03:56:02 PM by Santos »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #5 on: February 17, 2021, 06:41:44 PM »
Hi, Santos!

Just to be sure, what is the output of  "echo $LANG" command?

Offline Santos

  • Full Member
  • ***
  • Posts: 113
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #6 on: February 17, 2021, 07:24:52 PM »
Hello

Output is:
Code: [Select]
es_GT

Also, I tried to download everything again. It did not work unfortunately.

EDIT: As the boot code should be?

Code: [Select]
es_GT.UTF-8
« Last Edit: February 17, 2021, 07:26:36 PM by Santos »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #7 on: February 17, 2021, 07:29:08 PM »
I think UTF-8 version will be better.

Offline Santos

  • Full Member
  • ***
  • Posts: 113
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #8 on: February 18, 2021, 01:15:27 AM »
Hi

I tried this: reboot, set lang=es_GT.UTF-8, mount partition with tcz files, first load the graphic-firmware, second mylocale.tcz

And the usual stuff:
graphics-kernel
Xorg-7.7
Xorg-7.7-3d
xf86-video-intel
JWM
aterm
libreoffice_lang

Same issue, LibreOffice's user interface just have an option: english.
I checked for the files in previous location (all files are in place):
/usr/local/lib/libreoffice/share/config/soffice.cfg/cui/ui/res/es.zip

Does the way LO was compiled has a take in all of this?
I haven't try with a different version of TC, but I might if it is necessary. But I would like to exhaust every possible option I have and stick with TC 10.1.

Screenshot of the available option for the user interface language:
base64 -d < code > lo.png

https://
pastebin
.com/raw/AyN0c0ju

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #9 on: February 18, 2021, 02:15:07 AM »
Hi, Santos!

I've installed LO and LO_lang under TC10.1 x86. Really, "User interface" option in language settings section is only English. Probably it is limited during compile. TC11 has the same LO version. Sorry, I can not help You.

Offline Santos

  • Full Member
  • ***
  • Posts: 113
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #10 on: February 18, 2021, 09:10:35 AM »
Oh! :(

I see; appreciated your information.

Thank you very much for all you help!

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #11 on: February 18, 2021, 10:39:01 AM »
    No need for thanks, You were doing everything right. I have no hardware powerfull enough even to try build Libreoffice, it is huge. The problem with user interface language for non-English speaking users exists, and finding the solution may help other people. The only way I can suppose is using of some containerized software suits, but I never dealt with such packages and can't say anything definitely.

    Best regards!

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #12 on: February 19, 2021, 01:42:40 PM »
    Hi, Santos!

    I mentioned containers in my previous post, but then I recalled the TinyCore flavour named dCore. Haven't You tried it? dCore allows You to gain full acces to Debian or Ubuntu repo with the help of sophisticated self-contained extensions technique. I'm total noob in dCore, but today I've tried dCorePlus-xenial.iso on the very weak hardware (1.33 MHz x86, 1G RAM) and without any problems with the the help of two commands (sce-import and sce-load) got working LibreOffice! I didn't tried locale setup and X server changing, but don't You want to try this way? Sorry again for being not able to help, because today I was running dCore for the very first time, but dCore's idea is great!

Regards!

Offline Santos

  • Full Member
  • ***
  • Posts: 113
Re: Change user interface language (libreoffice) 5.2.3.3 TC 10.1
« Reply #13 on: February 21, 2021, 12:06:22 AM »
Hi!

Thank you very much for keep trying to help me out, I really appreciated.  :)

Regarding dCore, yes I already tried it. And didn't like it (for this particular purpose), since for LO it needs to load the whole debian-Xorg stack before I even load the LO extension. It is doable but it takes a lot more resources than TC. Don't get me wrong, dCore is amazing, a wonderful piece of software that I use for a home server or if I need a specific package not available in TC like G'MIC and it's integration with OpenCV or Hugin (which by the way I successfully stitched HQ pictures with a 15+ years old computer, ~3 gb of swap, 512Mb of ram, the amazing dCore and several hours).

Also, with dCore I need to load all extensions from the hard drive (to keep free ram for running processes), hurting the overall performance (modules + swap). This is applicable to TC as well, but usually packages are stripped down or have less dependencies.

Another reason is that I already have a nice set up in my TC box, which I will try to keep as long as my computer boots up (I have tried several distros that almost melt the CPU, haha)

Best wishes.