Diff for "Translations/QuickStart/Draft"

Not logged in - Log In / Register

Differences between revisions 1 and 2
Revision 1 as of 2009-08-04 15:45:54
Size: 5240
Editor: 92-237-59-186
Comment:
Revision 2 as of 2009-08-04 15:46:20
Size: 2499
Editor: 92-237-59-186
Comment:
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:




Bazaar comes with a plug-in that lets you push to and pull from Launchpad directly from within Bazaar.

To push your branch up to Launchpad, open your terminal and go to your Bazaar branch. Next up, type:

{{{
bzr push lp:~your-id/project-id/branch-name
}}}

 * ''~your-id'': this is your Launchpad id, which is the portion of [[https://launchpad.net/people/+me|your profile page]]'s URL that begins with the tilde
 * ''project-id'': the id of the project in Launchpad, which you can find at the end of your project's overview page URL
 * ''branch-name'': whatever name you want to give to your branch, such as ''trunk'', ''main'' or ''experimental''


Replace ''project-name'' with your project's Launchpad id. The id is the final part of your project overview page's URL: e.g. ''bzr'' in ''https://launchpad.net/bzr''

== See your branch in place ==

Once Bazaar has pushed your branch to Launchpad, Launchpad will scan the revisions in your branch and:

 * list the branch on both [[https://code.launchpad.net/people/+me|your own code overview page]] and that of the project
 * enable other people to download the branch and create their own version of it
 * make the full revision history available in the [[Loggerhead]] branch viewer.

= Set your project's trunk branch =

You can tell Launchpad which of your project's branches is the current focus of development; i.e. which is the trunk.

Setting a trunk branch is useful to:

 * tell people which branch they should download
 * define which branch Launchpad should provide when someone enters ''bzr branch lp:your-project''
 * act as the default target when someone proposes a merge.

Visit your project's code overview page and follow the link inviting you to set a development focus.

||<tablestyle="font-size: 0.8em; width:30%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">{{attachment:set-trunk.png}}||
||<style="text-align: center;">'''Set your trunk branch'''||

== Series ==

Launchpad lets you manage multiple lines of development, which it calls series. For example: you may have a separate series each for your next major version, your current release and an older release that your still support.

You can set a development focus, or trunk, branch for each series. [[Projects/SeriesMilestonesReleases|Read about series >]]

= Next steps =

You're now hosting your project's code in Launchpad. Anyone can download your code, make their changes and upload their branch for listing on your project's code page. Other people can also propose there branches for merging into your trunk, or any other branch associated with your project.

~+[[Code|Read our full guide to Launchpad Code Hosting >]]+~

Launchpad Help > Translations > Quick-start

Translations quick start

Need help with translating someone else's project? Take a look at our guide to translating.

Enable translations for your project

Step 1: First, add your project to Launchpad.

Important

Check the project isn't already in Launchpad and make sure you have permission from the project to translate it in Launchpad.

Step 2: On your project's overview page, click Change details towards the top-right of the page.

change-details.png

Edit your project's info in Launchpad

Step 3: Scroll down the Change details page and select the check-box marked Translations for this project are done in Launchpad.

uses-trans.png

Open your project for translation in Launchpad

Step 4: Save your changes by clicking the Change button at the bottom of the page.

What's changed?

  • Your project overview page now reads Uses Launchpad for: Translations

  • You're now ready to upload translation templates and any existing translations

Upload your translation templates

Launchpad works with GNU gettext format translation files and templates. To tell Launchpad which English strings you want to make available for translation, you need to upload one or more template files.

Quick tip

Read the ''gettext'' manual to learn how to make the strings in your code translatable.

Translations/QuickStart/Draft (last edited 2009-08-04 15:46:20 by 92-237-59-186)