Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Santos 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.
-
Hi Santos!
Maybe next time you will specify what TC architecture you use, 32 or 64 bits ;)
Anyway, looking inhttp://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 (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
-
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.
-
Hi, Santos!
You didn't mention mylocale.tcz loaded. Have You created it with the help of getlocale.tcz?
-
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
-
Hi, Santos!
Just to be sure, what is the output of "echo $LANG" command?
-
Hello
Output is:
es_GT
Also, I tried to download everything again. It did not work unfortunately.
EDIT: As the boot code should be?
es_GT.UTF-8
-
I think UTF-8 version will be better.
-
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
-
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.
-
Oh! :(
I see; appreciated your information.
Thank you very much for all you help!
-
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!
-
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!
-
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.