GNU gettext

Gettext is a library that was built to minimize the work of i18n and l10n. It works by extracting the strings directly from the source files and generating a template file.

gettext is simple and flexible package to use for i18n and l10n of software with various utilities, string externalization and plural support. This package offers to programmers, translators and even users, a well integrated set of tools and extensive documentation.

gettext is available for usage with various languages (Python, C, PHP, Ruby, JavaScript and many more) and most frameworks already have it with some support. You can check it here.

If you choose this route to prepare your project for internationalization and localization, you’ll be in luck because Localazy supports gettext.