RoboCon2025

The easy way to create translation for libraries
2025-03-06 , RoboCon Online

Not all people in world understand English, but most of the publicly available libraries have their keywords and documentation written in English. This talk provides knowledge and examples how library developers can create an API and enable users of the libraries to create translations for the library.


This talk provides users knowledge and examples how library developers can use PythonLibcore to create an simple API for users to add their own translations as separate Python plugins.

This talk is two main points. As first it is a selling point for PythonLibCore (PLC) and the advantages of the Robot Framework dynamic library API. PLC, with the help of the dynamic library API, allows easy interception of the keyword names and documentation and enables PLC to create a simple API for library developers to provide translation for their libraries.

The later point is done with examples from Browser and SeleniumLibrary, how translation discovery and using the translation works in those libraries. Also we show projects from MarketSquare how translations are created, saved and distributed as Python packages for those libraries. The examples from Browser and SeleniumLibrary and translations projects provides a nice view how small effort it is for the library to provide an API for the translations. Also translations projects provides an base for users to create their own translations for their favorite libraries or to add new translations to the Browser or SeleniumLibrary.


Categorize / Tags:

Localisation Library

Describe your intended audience:

The aim for this talk is not in technical jargon or showing code, although it will have some technical illustrations. The point of this talk is two folded, show library library developers why they should care about translation/localization. And show users how easy it is to contribute in extending their favorite library.

Also if translation comes a popular, it can help spread Robot Framework in new places or areas. Example in Asia or Africa. Or perhaps Robot Framework could be used with students when their English skills are not enough for using keywords from Browser or SeleniumLibrary.

Is this suitable for ..?:

Beginner RF User, Intermediate RF User, Advanced RF User

Tatu Aalto is one the lead developers is Browser library and maintains also other projects in Robot Framework ecosystem. He has more than 20 years experience with testing and test automation. He currently working in Osuuspankki in team which builds test automation platform for development teams.

This speaker also appears in: