Testing phone translations using the emulator

David Planella david.planella at ubuntu.com
Wed Jan 22 10:08:09 UTC 2014


On Wed, Jan 22, 2014 at 10:49 AM, marcoslans <marcoslans at hotmail.com> wrote:

>  Hi again,
>
> Now the terminal return is:
>
> phablet at ubuntu-phablet:~$ sudo apt-get install
> language-pack-{gnome-,}gl-base
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   language-pack-gl language-pack-gnome-gl
> Recommended packages:
>   firefox-locale-gl
> The following NEW packages will be installed:
>   language-pack-gl language-pack-gl-base language-pack-gnome-gl
>   language-pack-gnome-gl-base
> 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
> Need to get 6,745 kB of archives.
> After this operation, 23.7 MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty/main
> language-pack-gl-base all 1:14.04+20131212 [1,354 kB]
> Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty/main language-pack-gl
> all 1:14.04+20140116 [1,291 kB]
> Get:3 http://ports.ubuntu.com/ubuntu-ports/ trusty/main
> language-pack-gnome-gl-base all 1:14.04+20131212 [2,530 kB]
> Get:4 http://ports.ubuntu.com/ubuntu-ports/ trusty/main
> language-pack-gnome-gl all 1:14.04+20140116 [1,570 kB]
> Fetched 6,745 kB in 0s (0 B/s)
>
>
>
> ...and then stops. My ubuntu is 10.04 Precise.
>
>
>
It does take a while for the emulator to finish some operations. I'd
recommend to wait for a bit until it's finished the language pack
installation, and please check that you don't have other apps running that
are taking a lot of memory or CPU time, which sometimes cause the emulator
to get out of memory or to slow down quite a bit. You can use htop to check
that out.

If all fails, I'd suggest to restart the emulator and try again.

I'm guessing you meant you are running 1*2*.04 instead of 10.04, so glad to
know the emulator works in Precise!

Cheers,
David.


>
>
> En 22/01/14 10:22, David Planella escribiu:
>
>  On Wed, Jan 22, 2014 at 10:10 AM, marcoslans <marcoslans at hotmail.com>wrote:
>
>>  Hi
>> This is the terminal return for galician language:
>>
>> phablet at ubuntu-phablet:~$ sudo apt-get install
>> language-pack-{gnome-,}-gl-base
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package language-pack-gnome--gl-base
>> E: Unable to locate package language-pack--gl-base
>>
>>
>  Ah, I've just noticed the extra dash in the package name. I apologize,
> there was a typo in step 3 (the additional dash before $LANG), which should
> actually be:
>
>  3. Run `sudo apt-get install language-pack-{gnome,}$LANG-base` on that
> same terminal session (replace $LANG with your 2-letter or 3-letter
> language code, e.g. 'ca', 'it', 'ast', etc)
>
>  Let me know if this works for you
>
>  Cheers,
> David.
>
>
>>
>>
>>
>> En 21/01/14 14:14, David Planella escribiu:
>>
>> Hi Translators,
>>
>>  A few days ago, I mentioned I'd write about how to test translations on
>> a phone, even without a device. Yesterday I just finished the first article
>> on the first step of the process: installing and running the emulator:
>>
>>  http://davidplanella.org/ubuntu-emulator-quickstart-guide/
>>
>>  I'm preparing a separate article for the actual testing, but I thought
>> in the meantime I'd put together a quick set of instructions so that
>> translators can already check what translations look like for their
>> languages on the emulator
>>
>>  The following instructions assume you've installed the emulator and
>> you've got an instance running.
>>
>>  ## Installing new languages
>>
>>  Right now there is only a subset of languages installed on the phone
>> (English, German, Spanish, French, Portuguese -from Portugal and
>> Brazilian-, Simplified Chinese). If your language is on that list, you can
>> skip this and jump to the next section. Otherwise, please read on...
>>
>>  1. Log into the adb shell that appears in the terminal next to the
>> emulator. Use 'phablet' (without quotes) both for the user name and password
>> 2. Run `sudo apt-get update` on that same terminal session
>> 3. Run `sudo apt-get install language-pack-{gnome-,}-$LANG-base` on that
>> same terminal session (replace $LANG with your 2-letter or 3-letter
>> language code, e.g. 'ca', 'it', 'ast', etc)
>>  4. You've now installed your language. Press Ctrl+C on that terminal to
>> close the emulator
>>
>>  ## Switching languages
>>
>>  Once the phone UI is up in the emulator, it's time to chose your
>> language using your mouse:
>>
>>  1. Slide to the left to go past the welcome screen
>> 2. Slide once more to the left to show the Applications scope
>> 3. Click on the System Settings app
>> 4. Within System Settings, click on Language & Text
>> 5. Scroll up or down the list to select and set your language
>> 6. Once done, close the emulator for the language settings to have effect
>> on the next boot.
>> 7. Restart the emulator - e.g. run `ubuntu-emulator run myimage`, where
>> 'myimage' was the chosen name you gave to the instance you want to run
>>
>>  And that's it, you should now see the phone in your language!
>>
>>  ## Translating and reporting bugs
>>
>>  At this point you'll see parts of the UI that need translation, which
>> you can complete from the list highlighted here:
>>
>>  http://davidplanella.org/make-ubuntu-speak-your-language/
>>
>>  From there, you can also find out the upstream project, so if you see
>> any internalization issue, you can report it as a bug there.
>>
>>  Let me know how this works for you!
>>
>>  Cheers,
>> David.
>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-translators/attachments/20140122/a6f0f69d/attachment.html>


More information about the ubuntu-translators mailing list