Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 849
    • Issues 849
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurialmercurial
  • TortoiseHgTortoiseHg
  • thgthg
  • Wiki
  • Developers
  • Translation

Translation · Changes

Page history
More content from stable wiki authored Feb 27, 2011 by Steve Borho's avatar Steve Borho
Show whitespace changes
Inline Side-by-side
developers/Translation.wiki 0 → 100644
View page @ 2fbc23fe
There are several ways to contribute to TortoiseHg translations:
# Testing translations and reporting issues at bitbucket
# Contributing translations via Launchpad [either via web or by uploading .po files]
# Approve uploaded .po files [only if you are unhappy with what other contribute]
# Maintain translation infrastructure (upload .pot files) [this is the boring part that allows everybody else to work]
The general principle is that all translations are coordinated through Launchpad, issues are tracked at bitbucket, and messages use the tortoisehg-discuss mail list.
=== Contributing translations ===
Please visit our page on
[[https://translations.launchpad.net/tortoisehg|Launchpad]]
About TortoiseHg Translation Team:
[[http://thread.gmane.org/gmane.comp.version-control.mercurial.tortoisehg.user/1813]]
=== Testing translations on Windows ===
# Install TortoiseHg via the binary installer
# Download a translation in MO format from Launchpad
# Copy the .mo file to %ProgramFiles%\TortoiseHg\locale\XX\LC_MESSAGES\tortoisehg.mo where XX is the locale
# Set environment variable LANG=XX
# Launch TortoiseHg
=== Translating Explorer Context Menu ===
Context menu items are translated using the same process as the rest of the source code. The strings in tortoisehg/util/menuthg.py are translated on launchpad. As part of the installer building process, the translations for those strings is extracted into registry files which are then included in the installer.
=== Testing translations on Unix ===
# Clone tortoisehg to your machine and symlink hgtk into your path (See hgtk wiki page on main wiki)
# run python setup.py build_mo
# Download a translation in MO format from Launchpad
# Copy the .mo file to tortoisehg\locale\XX\LC_MESSAGES\tortoisehg.mo where XX is the locale
# Set environment variable LANG=XX
try hgtk user or some other commands.
=== Contributing translations on the unstable branch ===
Note that this is only for advanced translators as it require more steps and your translations may be discarded before released.
# Generate .pot file from default branch
# Upload .pot to launchpad unstable series
# Download .po from launchpad unstable series
# Translate
# Upload changed .po to launchpad unstable series
# Commit .po to default branch
You may want to skip steps as appropriate. In particular, it is possible to work without using launchpad. In this case it is your responsibility that your .po file is uploaded to launchpad before the next release of TortoiseHg.
\ No newline at end of file
Clone repository
  • BugReport
  • CentOS
  • FixedBugs
  • Home
  • KeySequences
  • Nit
  • OldNews
  • OlderReleaseNotes
  • OpenAtLine
  • ReleaseNotes
  • RoadMap
  • SVN HG
  • SVN
  • Ubuntu
  • developers
    • CommonSignals
View All Pages