Skip to content

Translations

Introduction

The OpenTrack sites, whether it is the standard data.opentrack.run or a federation site, such as norway.opentrack.run, are designed to be multilingual.

When on an OpenTrack site, you can see the chosen language toward the top right of the page. Clicking the flag will provide the dropdown options for you to choose from. Click one and your site will change to the chosen language.

languageselection
Choose Language


If your required language is not available then please contact support@opentrack.run and we can look to add this for you.

Translating

The actual translations cannot be done by OpenTrack, so you will need to work through the translations yourself, or ideally find a volunteer or two who can work through them gradually.

The first step is to ensure that you, or whoever is doing the translating, has the correct access to do so. Initially, ensure you have an account on OpenTrack. If not, click LOGIN / SIGNUP at the top right of the OpenTrack page and follow the signup process.

Once you have an account, please contact support@opentrack.run and let us know what language you need to be able to translate.

Once you have access, you will be able to access the translation screen. This is accessed via https://translate.opentrack.run/rosetta. This is a copy of our live website, which also has a special set of pages for translating.

The image below shows what you will see, but yours will only show the languages you have access to translate.

languageselection
Rosetta Screen


There are two rows (and two links) to choose from:

  • One contains translations of strings contained in python modules and django templates. Name is django.po
  • The other contains translations found in javascript files. Name is djangojs.po

Therefore the two links will contain text on different parts of the OpenTrack site so both need to be translated. You can see from the menu page how much has been translated in both.

Accessing any available link will deliver a paginated view of the translations contained in the corresponding .po file.

languageselection
Input Translations


Translations with substitutions

Formula Translation Notes
Hello Hallo Simple phrases can just be translated
Dear %s Hei %s Basic substitution of a dynamic phrase; you may change the order. %s is where the variable text would go, so if you see it in English, you must include it in the output.
Invitation to - %(email)s - has been accepted Invitasjonen til - %(email)s - har blitt godtatt Expressions like %(email)s allow the system to inject the variable 'email' into the sentence. Do not translate anything in the brackets! Everything in brackets in the source must be present in the translation.

It can sometimes be difficult to find the translation you want. The search tool does not search for specific contexts or in specific folders, for example. So if the word you are trying to translate is in multiple places on the site, it may take some time to find the correct translation you are looking for. However, if you are looking to translate everything then no problem!

If something is ticked "FUZZY" it will not be translated, so if you think it is correct, just untick it.

When you click SAVE, the files will not update immediately onto the main site; we need to check the syntax, as the phrases contain formulae, and what translators input is not always safe to deploy. If the updates do not show within 24 hours, please let us know, and we can arrange to check and promote it.

Common OpenTrack Phrases

To help those starting out translating OpenTrack, we have compiled a list of the most commonly used and important phrases that are best to translate first, and will give the most benefit to those using translation.

Commonly Used Phrases
  • Add athlete
  • Age Group
  • Age Groups
  • Age Grp
  • Cancel
  • Code
  • Competition
  • Competitor
  • Competitors
  • Country
  • Date
  • Delete
  • Email
  • Entries
  • Event
  • Events
  • Exit
  • Female
  • Filter
  • Leagues
  • Limit
  • Location
  • Male
  • Manage
  • Num
  • Organiser
  • Rounds
  • Save
  • Scores
  • Search
  • Slug
  • Submit
  • Type
  • Update
  • Venue
  • View
  • Website
  • Website
  • Call Room
  • Competition Details
  • Downloads
  • Numbering
  • Officials
  • Scoring
  • Seeding
  • Change password
  • Logout
  • My profile
  • PB
  • Personal Best
  • QP
  • Qualifying Performance
  • SB
  • Season's Best
  • Seeding Performance
  • SP
  • Best
  • Bib
  • Cat
  • Category
  • CatPos
  • Club
  • Date of Birth
  • DOB
  • First name
  • Full name
  • Gender
  • Last name
  • Local Name
  • Name
  • Nationality
  • Non-Scorer
  • Ord
  • Position
  • Result
  • Results
  • Short name
  • Start List
  • Start Lists
  • Team
  • Time
  • Weight
  • Amount due
  • Basket Value
  • Due
  • Paid
  • Paid so far
  • Paid?
  • Pay
  • Price
  • Primary Club
  • Select Country
  • Select Team