Testing phone translations using the emulator

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

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


> 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/6c2402f7/attachment.html>

More information about the ubuntu-translators mailing list