Languages
YOURLS supports localization: this means if a language file for YOURLS in available in your language, YOURLS will speak your language!
Available languages
See github.com/YOURLS/awesome-yourls
Your language is not available so you'd like to translate YOURLS? See below!
Install your language
If translation files for your language are available:
- In
config.php
add or edit the following line:define( 'YOURLS_LANG', 'fr_FR' );
- In directory
user/languages
, drop the two filesfr_FR.po
etfr_FR.mo
Of course, replace fr_FR
with the appropriate language code.
Translate
If YOURLS is not available in your language, be the one that will create the translation files! It's easy and no technical knowledge is required.
See this article: How to create your own translation file for YOURLS
Get your code ready for translation
Check out the dedicated guide for developers.