LingoHub Help Center

Our experience, knowledge and lessons learned - all here just for you.

Getting Started Guide for Developers

In our Getting Started with LingoHub for Project Managers, we covered most of our UI functionalities. On this guide, we are going to focus on the features that are more relevant to developers such as the resource files specifications, repository integration, and usages of our public API.

Resource files

Those are the files containing the text that needs to be translated.

Lingohub supports a large set of resource file types and provides details about the specifications that are particular to each resource file type as well as a set of guidelines to ensure a smooth integration. Please check out the documentation to ensure that the resource files you want to upload to your project are valid.

You can specify placeholders in your resource file. Those are the terms you want to keep from being translated (brand-related for instance).

You can also add comments in your resource files in order to provide more information about a text segment to help for its translation or to set Lingochecks rules.

The example below shows a java .properties resource file containing a placeholder and a LingoChecks rule.

greeting = Hello, Welcome to this demo
placeholder = This is a text with a {placeholder}
lang.en = English
# lh-check { min: 10 }
lang.fr = French
lang.es = Spanish

Repository Integrations

It is possible to link your LingoHub project with your repository. This will help you synchronize your files between LingoHub and your repository branch. The resource files will be automatically pulled from your repository every time a file is updated.

Connecting a repository to your project is easy.

  1. Go to the dashboard and click on the Repository menu.

Img

  1. Connect to your repository

Choose the repository of your choice and follow the wizard instructions.

Img

Packages

Easy to use and powerful, the packages help you manage the versioning of your application and give you the possibility to backup your translations on a regular basis. You can find more information about them and how to use them on this guide.

Img

Public API

Lingohub has a public REST API available for developers.

You can use the API if you simply need to check on a project's status, for example, without having to log into your Lingohub account or want to add a Lingohub integration to your project and, for example, build a custom plugin to upload/download your resource files.

If you're interested and want to learn more about our REST API (authentication, endpoints...) please check out this documentation.

You've now made it through our getting started guide for developers. If there's anything we can help you with, please get in touch at support@lingohub.com.

Related resources

Ready to optimize your translation workflow?