EasyOS version 2.3.2, June 22, 2020
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Translations
This is German translation for the Syslinux and reFind boot-manager menus
- Attachments
-
- boot_strings.de.gz
- no fake
- (607 Bytes) Downloaded 164 times
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I never thought we would still be booting slow enough to need translations by now, but that was what I initially developed what became t12s for (until I got boot to X+jwm to <0.5sec).
A couple of threads related to t12s here:
http://murga-linux.com/puppy/viewtopic.php?t=72321
http://murga-linux.com/puppy/viewtopic.php?t=73440
One thing I remember learning from that, which I never posted about was that it becomes important to replace echo with printf to allow for differing language rules. It allows a %s to be included in the translated string so that variables can be inserted at the appropriate syntactical location.
Here is an oversimplified example:
A couple of threads related to t12s here:
http://murga-linux.com/puppy/viewtopic.php?t=72321
http://murga-linux.com/puppy/viewtopic.php?t=73440
One thing I remember learning from that, which I never posted about was that it becomes important to replace echo with printf to allow for differing language rules. It allows a %s to be included in the translated string so that variables can be inserted at the appropriate syntactical location.
Here is an oversimplified example:
Code: Select all
setLANG_de(){
#uncomment these after translating to german
#_M_1="translate %s strings\n"
#_M_2="some"
#_M_3="some more"
}
printf "${_M_1:-translate %s strings\n}" "3"
printf "${_M_1:-translate %s strings\n}" "${_M_2:-some}"
printf "${_M_1:-translate %s strings\n}" "${_M_3:-some more}"
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
With Easy, there are various things that may happen in the initrd that will take some time.technosaurus wrote:I never thought we would still be booting slow enough to need translations by now, but that was what I initially developed what became t12s for (until I got boot to X+jwm to <0.5sec).
A couple of threads related to t12s here:
http://murga-linux.com/puppy/viewtopic.php?t=72321
http://murga-linux.com/puppy/viewtopic.php?t=73440
For example, ask for a password to decrypt folders in the working-partition.
Another example: filesystem check of the working partition.
Thanks for those links. Yes, I was wavering, thinking of using t12s.
But, have a nice tiny statically-compiled 'gettext' in the initrd (46KB), and I am most familiar with using gettext.
I was concerned that it might bloat the initrd too much, putting in /usr/lib/locale/<lang>, as LC_COLLATE and LC_CTYPE are big (typically 1.2MB and 300KB), however, discovered that can just leave them out and set "export LC_COLLATE=C" and "export LC_CTYPE=C" in the 'init' script in the initrd.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Did a bit of a write-up explaining how the translation is different for the initrd and the boot-manager menus:
http://bkhome.org/news/201901/syslinux- ... ation.html
@L18L,
Thanks for those translations. I will put them into woofE, so they will be in the next build of Easy.
http://bkhome.org/news/201901/syslinux- ... ation.html
@L18L,
Thanks for those translations. I will put them into woofE, so they will be in the next build of Easy.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
After reading one of those links posted by technosaurus, I posted a pm to rodin.s about what is the best console font for ru.
But then thought, this question should be opened up for everyone to respond. So here it is:
-------------------------
rodin.s,
I would like your advice about what is the best console font to have in the initrd of EasyOS for ru translation.
I saw your post here:
http://murga-linux.com/puppy/viewtopic. ... 950#604950
...link to pet with cyr-sun16.psfu.gz ter-u16n.psf.gz fonts.
In the init script in initrd, I have this:
The gettext method is used, see my post:
http://bkhome.org/news/201901/syslinux- ... ation.html
Forum discussion is happening here:
http://murga-linux.com/puppy/viewtopic. ... 52#1014752
Your input to this would be greatly appreciated!
------------------------------
rodin.s hasn't visited the forum for sometime, last post was in 2017 I think. I hope that he wanders by again and reads his pm!
But then thought, this question should be opened up for everyone to respond. So here it is:
-------------------------
rodin.s,
I would like your advice about what is the best console font to have in the initrd of EasyOS for ru translation.
I saw your post here:
http://murga-linux.com/puppy/viewtopic. ... 950#604950
...link to pet with cyr-sun16.psfu.gz ter-u16n.psf.gz fonts.
In the init script in initrd, I have this:
Code: Select all
#190103 need to know what language now using...
[ ! "$INIT_LANG" ] && INIT_LANG=C #precaution.
wkgLANG="${INIT_LANG}"
#this should match console font loaded in quicksetup...
case "${wkgLANG}" in
C|en*)
wkgLANG="C"
;;
ar*|he*|iw*) #arabic, hebrew
loadfont < /lib/consolefonts/LatArCyrHeb-16.psfu
;;
*) #all european languages...
#el|ru|uk|be|sr|tg|os|ba|ce|cv)
loadfont < /lib/consolefonts/LatGrkCyr-8x16.psfu
;;
esac
export LANG=C
export wkgLANG
http://bkhome.org/news/201901/syslinux- ... ation.html
Forum discussion is happening here:
http://murga-linux.com/puppy/viewtopic. ... 52#1014752
Your input to this would be greatly appreciated!
------------------------------
rodin.s hasn't visited the forum for sometime, last post was in 2017 I think. I hope that he wanders by again and reads his pm!
[url]https://bkhome.org/news/[/url]
I agree. The alternative to printf is sourcing gettext.sh and callingtechnosaurus wrote: One thing I remember learning from that, which I never posted about was that it becomes important to replace echo with printf to allow for differing language rules. It allows a %s to be included in the translated string so that variables can be inserted at the appropriate syntactical location.
Here is an oversimplified example:Code: Select all
setLANG_de(){ #uncomment these after translating to german #_M_1="translate %s strings\n" #_M_2="some" #_M_3="some more" } printf "${_M_1:-translate %s strings\n}" "3" printf "${_M_1:-translate %s strings\n}" "${_M_2:-some}" printf "${_M_1:-translate %s strings\n}" "${_M_3:-some more}"
Code: Select all
# howmay="some more" eval_gettext 'translate $howmany strings'
Some of my scripts use a single gettext -es call to translate all messages at once instead of each single message with its own gettext call. This is done for speed and to keep all strings in a single place. The technique is illustrated in this message table script, which the application script sources. Script xgettext.sh in this folder is used to extract the gettext strings (the folder contains all scripts I use to generate a .pot file for findnrun).
Just to report that tmux from ...
http://www.murga-linux.com/puppy/viewto ... 38#1002738 seems to work well under the latest EasyOS version. I also install mc from petget as a terminal/cli file manager and text editor.
Setting things to log into to the Easy Container and then Ctrl-Shift to disable alt-F6 switching to the main/real root desktop and instead running all root commands from root/cli (I like to use ctrl-alt-F3 for root/cli) works well.
For absolutely necessary root/windows gui actions you can run those from the console/cli for example
DISPLAY=:1 leafpad
from root/cli to fire up a (real root) leafpad window on the Easy containers gui desktop. That does however become insecure so best if no other Easy container windows, in particular browser, are running at that time.
With a reasonable tput based (textual/cli) menu, much of the root actions you might normally use in the main (real root) session can be replicated under ctrl-alt-F3 root/cli (console).
http://www.murga-linux.com/puppy/viewto ... 38#1002738 seems to work well under the latest EasyOS version. I also install mc from petget as a terminal/cli file manager and text editor.
Setting things to log into to the Easy Container and then Ctrl-Shift to disable alt-F6 switching to the main/real root desktop and instead running all root commands from root/cli (I like to use ctrl-alt-F3 for root/cli) works well.
For absolutely necessary root/windows gui actions you can run those from the console/cli for example
DISPLAY=:1 leafpad
from root/cli to fire up a (real root) leafpad window on the Easy containers gui desktop. That does however become insecure so best if no other Easy container windows, in particular browser, are running at that time.
With a reasonable tput based (textual/cli) menu, much of the root actions you might normally use in the main (real root) session can be replicated under ctrl-alt-F3 root/cli (console).
- Attachments
-
- s.png
- (140.71 KiB) Downloaded 1504 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
Just to highlight the insecurities of running real root X programs/windows alongside user or less secure windows (browsers etc.), here (attached image) note how with a real root window present on the Easy containers desktop, a easy container program such as sakura can detect that, and stuff commands into it (for simplicity I used xdotool to do that).
- Attachments
-
- s.png
- (139.79 KiB) Downloaded 1490 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
Audacious
Start audacious
View Visualisations and add the Blur visualisation, click its top panel and select the Dock Left option and it docks OK.
Repeat for another visualisation and audacious crashes.
I usually activate and dock all three of the available visualisations.
View Visualisations and add the Blur visualisation, click its top panel and select the Dock Left option and it docks OK.
Repeat for another visualisation and audacious crashes.
I usually activate and dock all three of the available visualisations.
- Attachments
-
- s.png
- (153.72 KiB) Downloaded 1466 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
@rufwoof,
Thanks for your reports. Yes, I do need to think some more about ratcheting-up the security. That is on the to-do list.
Right now, I am working on something else: out-of-the-box non-English support.
See this post:
http://bkhome.org/news/201901/non-engli ... asyos.html
Releasing a ready-to-go non-English build of Easy is real nice for users. Also, it is good for containers -- currently, that is a difficult situation.
I am building the non-English Easy distro in WoofE, with the langpack built-in. So, running in containers is fully translated.
Otherwise, if the langpack is a PET, it would have to be installed in each container. It could be an SFS instead, but there are still problems.
Building language-specific EasyOSs does mean a lot of extra uploads, if I have say, several of them, but these days I have a 4G plan with unlimited data.
This is quite exciting.
One thing, the test German build of Easy still had LibreOffice displaying in English. So I am compiling it again, with support for all languages.
Thanks for your reports. Yes, I do need to think some more about ratcheting-up the security. That is on the to-do list.
Right now, I am working on something else: out-of-the-box non-English support.
See this post:
http://bkhome.org/news/201901/non-engli ... asyos.html
Releasing a ready-to-go non-English build of Easy is real nice for users. Also, it is good for containers -- currently, that is a difficult situation.
I am building the non-English Easy distro in WoofE, with the langpack built-in. So, running in containers is fully translated.
Otherwise, if the langpack is a PET, it would have to be installed in each container. It could be an SFS instead, but there are still problems.
Building language-specific EasyOSs does mean a lot of extra uploads, if I have say, several of them, but these days I have a 4G plan with unlimited data.
This is quite exciting.
One thing, the test German build of Easy still had LibreOffice displaying in English. So I am compiling it again, with support for all languages.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
EasyOS version 0.9.18 is released, see blog announcement:
http://bkhome.org/news/201901/easyos-09 ... build.html
The really exciting thing is that there is a German build, ready-to-go (almost) fully translated.
Earlier post, with photos:
http://bkhome.org/news/201901/non-engli ... asyos.html
Download:
http://distro.ibiblio.org/easyos/amd64/ ... ro/0.9.18/
Stay tuned, more languages expected very soon.
http://bkhome.org/news/201901/easyos-09 ... build.html
The really exciting thing is that there is a German build, ready-to-go (almost) fully translated.
Earlier post, with photos:
http://bkhome.org/news/201901/non-engli ... asyos.html
Download:
http://distro.ibiblio.org/easyos/amd64/ ... ro/0.9.18/
Stay tuned, more languages expected very soon.
[url]https://bkhome.org/news/[/url]
Thanks for the .iso!
It's not the German, or other, versions that are of concern but the alleged 'English' variety with all the American allusions and defaults, not least the locales - most would be happy to see Perth/Oz as defaults, recognising the talents of the inventor! Not as if the Yanks invented computers or coding, even....
Babbage, Ada, Turing, Flowers, & co...
It's not the German, or other, versions that are of concern but the alleged 'English' variety with all the American allusions and defaults, not least the locales - most would be happy to see Perth/Oz as defaults, recognising the talents of the inventor! Not as if the Yanks invented computers or coding, even....
Babbage, Ada, Turing, Flowers, & co...
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
A Portuguese (pt) build of EasyOS 0.9.18, see blog post:
http://bkhome.org/news/201901/easyos-09 ... build.html
Robert (forum member robwoj44) has expressed an interest in doing some pt translating. He explained that he doesn't come to the Puppy Forum much these days, but it is great that he will have some input.
http://bkhome.org/news/201901/easyos-09 ... build.html
Robert (forum member robwoj44) has expressed an interest in doing some pt translating. He explained that he doesn't come to the Puppy Forum much these days, but it is great that he will have some input.
[url]https://bkhome.org/news/[/url]
EasyOS Pyro 0.9.18, January 11, 2019
.
I downloaded easy-0.9.18-de-amd64.img.gz and easydd, I used the command
"sudo sh easydd easy-0.9.18-de-amd64.img.gz" (from Manjaro).
Drive a: is the hard drive, and I thought the flash drive would be drive b:
(Sandisk Ultra usb 3.0) but it turned out that drive b: was the empty
SD card reader and the flash drive was drive c:
I installed to drive c:, when easy booted drive c: had become drive b:
On first boot I changed to U.S. english, saw a message that it would be
english after rebooting and it was.
I think I'll give easy a rest for a few releases and give it another try
at that point.
Thanks.
I downloaded easy-0.9.18-de-amd64.img.gz and easydd, I used the command
"sudo sh easydd easy-0.9.18-de-amd64.img.gz" (from Manjaro).
Drive a: is the hard drive, and I thought the flash drive would be drive b:
(Sandisk Ultra usb 3.0) but it turned out that drive b: was the empty
SD card reader and the flash drive was drive c:
I installed to drive c:, when easy booted drive c: had become drive b:
On first boot I changed to U.S. english, saw a message that it would be
english after rebooting and it was.
I think I'll give easy a rest for a few releases and give it another try
at that point.
Thanks.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: EasyOS Pyro 0.9.18, January 11, 2019
Thanks for all the testing that you have done.Billtoo wrote:.
I downloaded easy-0.9.18-de-amd64.img.gz and easydd, I used the command
"sudo sh easydd easy-0.9.18-de-amd64.img.gz" (from Manjaro).
Drive a: is the hard drive, and I thought the flash drive would be drive b:
(Sandisk Ultra usb 3.0) but it turned out that drive b: was the empty
SD card reader and the flash drive was drive c:
I installed to drive c:, when easy booted drive c: had become drive b:
On first boot I changed to U.S. english, saw a message that it would be
english after rebooting and it was.
I think I'll give easy a rest for a few releases and give it another try
at that point.
Thanks.
I want to bring out version 1.0, maybe in a couple of weeks.
Then I also will give it a rest.
My Purism Librem 5 phone dev-kit arrived recently, and I am keen to play with it. So will put EasyOS on the back-burner for awhile.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
And more!
http://bkhome.org/news/201901/easyos-09 ... build.html
http://bkhome.org/news/201901/easyos-09 ... build.html
These have UI translation for SeaMonkey, but it has to be manually enabled. The Mozilla developers have made it more difficult to get the language translation extension to be enabled automatically. Will keep trying.
I you start "seamonkey" in a terminal, you will see the message:
http://bkhome.org/news/201901/easyos-09 ... build.html
http://bkhome.org/news/201901/easyos-09 ... build.html
These have UI translation for SeaMonkey, but it has to be manually enabled. The Mozilla developers have made it more difficult to get the language translation extension to be enabled automatically. Will keep trying.
I you start "seamonkey" in a terminal, you will see the message:
Warn: Disabling foreign installed addon langpack-pl@seamonkey.mozilla.org
[url]https://bkhome.org/news/[/url]
-
- Posts: 247
- Joined: Fri 31 Jan 2014, 14:12
Desktop container
In trying to get accustomed to v18, it seems like the desktop container
system needs more work.
Default SfsGet delivers Firefox ok.
In container system, SfsGet looks as if it wants to download Firefox
while showing the orange % progress banner, but doesn't actually install.
Same thing with Chromium. Is this right or wrong?
If SfsGet is supposed to provide working s/w in this mode, then it isn't doing its job.
Also the package manager downloads a critically out of date Firefox 42.9esr.
Regards.
system needs more work.
Default SfsGet delivers Firefox ok.
In container system, SfsGet looks as if it wants to download Firefox
while showing the orange % progress banner, but doesn't actually install.
Same thing with Chromium. Is this right or wrong?
If SfsGet is supposed to provide working s/w in this mode, then it isn't doing its job.
Also the package manager downloads a critically out of date Firefox 42.9esr.
Regards.
For those who are concerned:
I just discovered some comments from BK on a thread specialized in translations
1 I destroyed the translation files, I made in a hurry just to bring help, so as not to interfere with musher0's, just in case, hoping for normal relations in the near future between him and BK. He is far better than me, a true bilingual, I sometimes read his posts.
2 Between musher0, belham2, and myself there is no relationship at all, Edit : I'm totally unknown to each other,Edit : I have never communicated with each other in any way, so there can be no rivalry, discussion, dispute of any kind in the past or present. They can confirm this.
EDIT: ooops ! sorry for belham2 and musher0, I don't know nothing about their relations
3 Not too seriously, when there's somewhere a mess, there's always a messiah.
Good night, janv 13, 21:12, it's time for me to drill in the political messes.
I just discovered some comments from BK on a thread specialized in translations
1 I destroyed the translation files, I made in a hurry just to bring help, so as not to interfere with musher0's, just in case, hoping for normal relations in the near future between him and BK. He is far better than me, a true bilingual, I sometimes read his posts.
2 Between musher0, belham2, and myself there is no relationship at all, Edit : I'm totally unknown to each other,Edit : I have never communicated with each other in any way, so there can be no rivalry, discussion, dispute of any kind in the past or present. They can confirm this.
EDIT: ooops ! sorry for belham2 and musher0, I don't know nothing about their relations
3 Not too seriously, when there's somewhere a mess, there's always a messiah.
Good night, janv 13, 21:12, it's time for me to drill in the political messes.
Last edited by Gyle on Mon 14 Jan 2019, 17:59, edited 1 time in total.