welcome1boot xmessage
- xanad
- Posts: 400
- Joined: Fri 28 Feb 2014, 14:56
- Location: 2 locations: MonteRosa Alp and Milano
- Contact:
welcome1boot xmessage
After selecting the language in the program 'welcome1boot' this huge window appears , not very nice nor understandable to beginners .
How to change it? Any suggestions?
slacko/tahr/precise
How to change it? Any suggestions?
slacko/tahr/precise
Last edited by xanad on Tue 09 Dec 2014, 15:03, edited 1 time in total.
[url]http://www.xanad.tk[/url] Html5 Parallax
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
not very nice nor understandable to beginners
But it's following straight the path of the bad and ugly "less is more" philosophy.
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Re: welcome1boot xmessage
I never had this GUI.xanad wrote:
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
It's not there in Precise (at least the Woof Version) but it's in there in Slacko (the Woof CE Version).
Probably it's to be found somewhere in delayedrun or xwin?
L18L probably should know where it is exactly, since this was invented by L18L - I think.
Probably it's to be found somewhere in delayedrun or xwin?
L18L probably should know where it is exactly, since this was invented by L18L - I think.
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
- xanad
- Posts: 400
- Joined: Fri 28 Feb 2014, 14:56
- Location: 2 locations: MonteRosa Alp and Milano
- Contact:
Right, it's also present in Tahr 6.0. If I search the text 'Code:', the answer more likely is that is contained in 'welcome1boot' file.LazY Puppy wrote:It's not there in Precise (at least the Woof Version) but it's in there in Slacko (the Woof CE Version).
@ASRI: it appears only the first time you start a language not native.
[url]http://www.xanad.tk[/url] Html5 Parallax
- xanad
- Posts: 400
- Joined: Fri 28 Feb 2014, 14:56
- Location: 2 locations: MonteRosa Alp and Milano
- Contact:
Ok, find it. The file is: welcome1stboot.bac that started by welcome1boot after selecting OK.
Extract from welcome1stboot.pupdev:
Extract from welcome1stboot.pupdev:
should change the following stringsThis is how to compile:
# bacon -x -d /tmp welcome1stboot.bac
...which will generate 'welcome1stboot' and 'welcome1stboot.pot'
Code: Select all
win_width=640
win_height=480
language_win = WINDOW("?", win_width, win_height)
[url]http://www.xanad.tk[/url] Html5 Parallax
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
This version of welcome1stboot was and is for use as the very first window on the screen. It makes sense if manyl other languages are available.xanad wrote:Ok, find it. The file is: welcome1stboot.bac that started by welcome1boot after selecting OK.
It is super nonsense if the first screen is something like quicksetup where LANG is already chosen.
There has been some confusion about which script is run first
http://www.murga-linux.com/puppy/viewtopic.php?t=94948
@L18L, I'm sorry, I don't get it. Are you saying that every localized puppy boots first into that non-sensical dialogue? I hope not: so much for an engaging OOTB user experience.L18L wrote:This version of welcome1stboot was and is for use as the very first window on the screen. It makes sense if manyl other languages are available.
Who can fix this? Base distro devs? Translators? Someone else?
Thanks for your comments.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
No, and I am not responsible for any Puppystep wrote:..Are you saying that every localized puppy boots first into that non-sensical dialogue?
I like internationalized Puppies which can be localized by simply installing a language pack.
With a localized Puppy the localizer would be responsible.
All I have done was building a language choice into welcome1stboot .
I hope xanad canstep wrote:Who can fix this? Base distro devs? Translators? Someone else?
Let us look into the source: https://github.com/puppylinux-woof-CE/w ... stboot.bac
Fix 1: delete everything between line48
Code: Select all
REM ============================ <language> ======================140210
Code: Select all
REM ============================ </language> ======================140210
or
fix2:
look at lines from 115 to 119:
Code: Select all
IF GETENVIRON$("LANGUAGE") = "" THEN
get_app_language : REM language choice screen
ELSE
SYSTEM "kill `cat /tmp/welcome`; rm /tmp/welcome" : REM kill language choice screen
END IF
If LANG was set before (in quicksetup maybe, or set to it by xanad?) launch welcome1stboot by:
Code: Select all
LANGUAGE=$LANG welcome1stboot
---
How to make welcome1stboot that way it should be?
1) include available welcome1stboot.mo for all languages
2)
Code: Select all
WHILE n < num_languages + 1
IF n = 1 THEN LANG_NAME$="English"
ELIF FILEEXISTS("/usr/share/i18n/lang_names") THEN
'get language name in language of language
---
I would prefer fix1
and use a shell script for language choice
http://www.murga-linux.com/puppy/viewtopic.php?t=92929
(/usr/share/i18n/lang_names included)
Note
in puppy precise the 1st screen always was welcome1stboot
That is why I was coding this language choice into welcome1stboot
LANGUAGE was used because LANG was always en_US.
obviously puppy slacko came different: 1st screen is quicksetup
so this quicksetup should include all translation files and be launched anything (untested ) like:
Code: Select all
set_LANGUAGE_and_launch_app quicksetup
Last edited by L18L on Tue 16 Dec 2014, 13:06, edited 1 time in total.
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
Since you are obviously the only person having multiple lang packs installed, this is super nonsense out of the box for any else puppy user!L18L wrote:This version of welcome1stboot was and is for use as the very first window on the screen. It makes sense if manyl other languages are available.
It is super nonsense if the first screen is something like quicksetup where LANG is already chosen.
Don't fix it - WIPE IT!
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
- xanad
- Posts: 400
- Joined: Fri 28 Feb 2014, 14:56
- Location: 2 locations: MonteRosa Alp and Milano
- Contact:
It is super nonsense if the first screen is something like quicksetup where LANG is already chosen.
example:
For some months the Italian users, can download the livecd of precise571, slacko570, 593, 593-64b and now Tahr 6.0 already localized in Italian.
The first screen after the boot is welcome1boot with these parameters preset:
main language: it
time zone: Europe/Rome
keyboard layout: it
Then the Italian users, found that it's all right, select OK .... et voilà the 'huge' appears
It is not just a problem of multilingual.
is useless if it is better to wipe it
[url]http://www.xanad.tk[/url] Html5 Parallax
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
welcome1boot
Addxanad wrote:... already localized in Italian.
Code: Select all
LANGUAGE=it
or
fix1
your choice
@LBL1, thanks for your comments and code analysis. Now I understand better. In summary:LazY Puppy wrote:Since you are obviously the only person having multiple lang packs installed, this is super nonsense out of the box for any else puppy user!L18L wrote:This version of welcome1stboot was and is for use as the very first window on the screen. It makes sense if manyl other languages are available.
It is super nonsense if the first screen is something like quicksetup where LANG is already chosen.
Don't fix it - WIPE IT!
1. You say that the dialog should be invoked only when a user has at leat two extra languages installed (a seemingly rare but possible occurrence, I add)
2. You suggest that a single extra language ISO (such as xanad's IT) should include LANGUAGE=xx to keep the dialog from showing up.
My own suggestions:
a. Amend the .bac file in woof-ce to include comment #2, so newcomers will know what to do next time this issue pops up
b. Consider committing an improved woof-ce .bac source file that pops up the dialog only when at least two extra languages are available. That would restrain the dialog to where you originally wanted it to appear regardless of what translators do, right or wrong.
If my summary and suggestions don't make sense please ignore them. Like I said before I don't fully grasp this issue as I'm just looking from the outside. You have a much broader perspective than I about localizing puppies. Actually, I have close to zero knowledge on the subject
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
step wrote:In summary:
1. You say that the dialog should be invoked only when a user has at leat two extra languages installed (a seemingly rare but possible occurrence, I add)
2. You suggest that a single extra language ISO (such as xanad's IT) should include LANGUAGE=xx to keep the dialog from showing up.
1- No. The dialog should be invoked only if it the very first window of a fresh puppy., and must contain all translations for this welcome1stboot.
2 - Yes. it is superfluos, there us nothing to choose and nothing to confirm.
Your quoting is ...lazy
but your summary made sense
Thank you.
-
This is dialog for choosing a languagexanad wrote: Back to the question posed on the front page:
can replace the window title
from "?"
to "Confirm your choice"
I do not know which language the user understands
The only words are languages in the language of that language
That is how it should work.......
There is nothing to confirm about the language in a remastered localized Puppy I think.
- xanad
- Posts: 400
- Joined: Fri 28 Feb 2014, 14:56
- Location: 2 locations: MonteRosa Alp and Milano
- Contact:
you'll see that if you do a test by selecting "en" The next window is in English. It's not a huge problem but there is and should be solved. At least in the next skeleton.There is nothing to confirm about the language in a remastered localized Puppy I think.
[url]http://www.xanad.tk[/url] Html5 Parallax
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Our huge problem seems to be that we do not understand each other.
Did you remaster?
... and change
to
That is OK for me.selecting "en" The next window is in English.
Did you remaster?
... and change
Code: Select all
welcome1stboot
Code: Select all
LANGUAGE=it welcome1stboot
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
first: in no file. Use just console.xanad wrote:.. in which file?
Code: Select all
welcome1stboot
Code: Select all
LANGUAGE=en welcome1stboot
Code: Select all
LANGUAGE=it welcome1stboot
Right?
We could now search where in which file this invocation is located
Code: Select all
grep welcome1stboot /usr/*/* 2>/dev/null
maybe in /usr/sbin/delayedrun and change it there.
Second
Alternatively try
Code: Select all
export LANGUAGE=it
Code: Select all
welcome1stboot
that is starting in Italian without choice
we could try to add just this statement
Code: Select all
LANGUAGE=it; export LANGUAGE
/etc/rc.d/rc.local
... and add only this file to langpack_it
EDIT
You can get it if you really want. But you must try.......