Ubuntu 12.04 Online Tour for LoCos
David Planella
david.planella at ubuntu.com
Thu Apr 26 06:06:10 UTC 2012
Al 25/04/12 20:27, En/na Benjamin Kerensa ha escrit:
> On 04/25/2012 09:57 AM, David Planella wrote:
>> Hi all,
>>
>> I'm very excited to announce the availability of the Ubuntu Online Tour
>> for LoCo teams to localize and use in their sites. The tour has been the
>> result of the stunning work done by Ant Dillon from the Web Design Team
>> and should provide a web-based first impression of Ubuntu to new users,
>> in their language.
>>
>> Where is it?
>> ------------
>>
>> - The code lives on https://launchpad.net/ubuntu-online-tour
>> - You can translate it on
>> https://translations.launchpad.net/ubuntu-online-tour
>>
>> How can I use it for my LoCo website?
>> -------------------------------------
>>
>> If you've already translated the tour in Launchpad, you can build a
>> localized version in 3 easy steps:
>>
>> 1. Get the code:
>> bzr branch lp:ubuntu-online-tour/12.04
>>
>> 2. Build the localized tour:
>> cd 12.04
>> cd translate-html/bin
>> ./translate-html -t
>>
>> 3. Deploy the tour:
>> - This will vary depending on your setup, so simply make sure you copy
>> the chromeless, css, img, js, pie and videos folders along with the
>> videoplayer.swf file to your site. In addition, you will need the en
>> folder and the folder for your language created in the previous step.
>>
>> If you haven't finished the translation for your language in Launchpad,
>> you will need to complete the corresponding PO file before you run step
>> 2. Just ask on the Ubuntu translators list (on CC) in case you need help
>> or are not familiar with PO files.
>>
>> If you've got any questions, feel free to ask on this list. For any
>> issues, suggestions, improvements, etc, use the Launchpad project at
>> https://launchpad.net/ubuntu-online-tour to report bugs and submit code.
>>
>> Enjoy!
>>
>> Cheers,
>> David.
>>
>>
>>
>>
>
> Ubuntu Oregon's Tour is up
> http://ubuntu-oregon.org/tour/
>
> One thing I noticed is that the ZH-CN language directory is required for
> the tour to work fully because if people click on Chinese then it will
> deadlink.... Also unless you want to point people to /12.04/en
> you can just drop a little php redirect in 12.04 so it redirects to /en
>
Thanks Ben for testing and generating the online tour for your LoCo!
All languages are generated when you call the translation script. If
your website is an English one, you won't need to run the translation
script, as you can copy directly the contents of the en/ folder.
You are right in noticing that there is a hard link to the Simplified
Chinese version of the tour in the generated HTML. That is because the
tour was originally created for ubuntu.com, where only English and
Chinese versions are available.
Ideally, when building the translated versions, the HTML link should be
replaced to a link to the particular language you are interested in, but
that was out of scope for creating the tour for ubuntu.com.
In any case, I assume webmasters adding the tour to local sites are well
versed in HTML, so it should probably be easy for them to modify the
HTML to remove the link or have it pointing to the right language.
Cheers,
David.
--
David Planella
Ubuntu Translations Coordinator
www.ubuntu.com / www.davidplanella.wordpress.com
www.identi.ca/dplanella / www.twitter.com/dplanella
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-translators/attachments/20120426/b3a09079/attachment.sig>
More information about the ubuntu-translators
mailing list