[Localization] Localization Digest, Vol 55, Issue 3

jamarat jamarat at o2.pl
Mon Oct 24 13:31:45 EDT 2011


Hi,
Thank you Aleksey for hints with Sweet. I tried to follow your directions.
PackageKit and Sweets installation went smoothly. But trying to run sweets:

* on original XO-1.5 it didn't work with the following trace (I checked with
firefox, that http://sweets.sugarlabs.org/sdk/sugar is correct XML
document):

[jakub at xo-4a-af-96 ~]$ sweets status sdk/sugar -v
-- WARNING (root) Feed download from http://sweets.sugarlabs.org/sdk/sugar
failed: This is not a Zero Install feed! It should be an XML document, but
it starts:
''
-- Unhandled exception: This is not a Zero Install feed! It should be an XML
document, but it starts:
''
-- Use -D argument for debug info, -DD for full debuging output and
tracebacks

* on emulated SOAS (Oracle VM +
Fedora-16-Nightly-20110930.15-i686-Live-soas.iso) it went a little further,
I could execute 'sweets status sdk/sugar -v' but with warnings:

[jakub at localhost ~]$ sweets status sdk/sugar -v
dr sdk/sugar (0.94.1-71)
     0.94.1-71  stable     2011-10-22  *-*           1136.0 KB
     0.94.1-71  stable     2011-10-22  *-x86_64      (Unsupported machine
type)
     0.94.1-71  stable     2011-10-22  *-x86_64      (Unsupported machine
type)
     0.94.1-71  stable     2011-10-22  *-i586        (Binaries are not for
the current distribution)
     0.94.1-71  stable     2011-10-22  *-i586        (Binaries are not for
the current distribution)
     0.92.4-70  stable     2011-10-22  *-*           764.1 KB
     0.88.1-69  stable     2011-10-22  *-*           690.1 KB
     0.84.11-68 stable     2011-10-22  *-*           579.3 KB
     0.95-67    developer  2011-10-22  *-*           846.2 KB
-- Unhandled exception: Cannot find requireed implementations for
http://sweets.sugarlabs.org/base/evince
-- Legend: (-)ok (m)ake (d)ownload (i)nstall (e)rror (r)untime (b)uildtime
(bold)local
-- Use -d argument to show used dependencies and -dd for the full list
-- Use -D argument for debug info, -DD for full debuging output and
tracebacks 

similar warnings (missing required implementation) appear when trying
'sweets sdk/sugar:emulator':

[jakub at localhost ~]$ sweets sdk/sugar:emulator
-- Unhandled exception: Cannot find requireed implementations for
http://sweets.sugarlabs.org/base/evince


With other sweets commands the ' http://sweets.sugarlabs.org/base/hal' was
missing.

Both Sugars work within my home wi-fi network with full Internet access.

Appreciate any help,
Jakub

-----Original Message-----
From: Aleksey Lim [mailto:alsroot at gmail.com] On Behalf Of Aleksey Lim
Sent: Friday, October 21, 2011 5:49 PM
To: Jakub Ratajczak
Cc: localization at lists.laptop.org; cjlhomeaddress at gmail.com
Subject: Re: [Localization] Localization Digest, Vol 55, Issue 3

On Sun, Oct 09, 2011 at 12:02:12PM +0200, Jakub Ratajczak wrote:
> Chris, 
> Unfortunatelly the http://wiki.laptop.org/go/Localization/Testing is out
of date. Most directions are obsolete (i.e. using QEMU, obsolete links).
History tab shows it was updated last time over 3 years ago.
> 
> I tried to setup test environment for localization using the newest .iso
image on an USB stick (using Fedora USB live creator). On such environment
the LL_lang_pack_v2.sh script fails to run due to missing /home/olpc/
directory (I tried to use Polish).

> Beside this details I have one general comment and question:
> This is extremely difficult, especially for a non-tech person (localizer),
to setup environment for testing localization. One needs to know how to
switch to root (what is root?!?) or install Sugar-Jhbuild (but first install
python and git), get familiar with msgfmt command-line tool, generally be
able to use UNIX terminal tools and many others. Ok, I know how to do all
this stuff but it's impossible to ask someone without tech background to do
it. It was comment. The question is: why night build tools can't link
sources with the latest version of .po (making .mo first of course) to
provide up-to-date localized version for next day testing? Such version
would be also available next day for other testers.
> One can still use detailed tech-description from /Localization/Testing web
page if necessary. 
> I don't know details and responsibilities for building process but linking
the newest .po/.mo files doesn't seem to be very complicated task.

I think this process might be simplified using Sweets, i.e., the only
you need to do, being in regular GNU/Linux distribution, is:

* install PackageKit from native packages,
* install Sweets (by downloading installer and launching it),
* for regular i18n testing, enter in any X terminal:

    [LANG=<lang>] sweets <i18n-project> = <version>

that will download (and build if there is such need) glucose that is
associated with i18n-project=version, and will run it in emulator mode
with all activities installed (according to i18n-project=version).

Will it make sense for you?

-- 
Aleksey



More information about the Localization mailing list