Skip to main content

Translations

Every word Live Stream shows goes through WordPress's own translations: the admin, the blocks, the player, the chat and the studio. Your visitors read them in your site's language, and plurals follow each language's own rules.

How it's translated​

  • The text domain is easy-stream, for the PHP and for the scripts alike.
  • The scripts (the player, the studio and the admin) take their translations from WordPress as its own scripts do, as JSON files beside the plugin's .mo file.
  • The plugin ships its template, languages/easy-stream.pot, with every word in it.

Translating it yourself​

Live Stream isn't on WordPress.org yet, so translate.wordpress.org doesn't carry its language packs. Translate it with a translation plugin, or with the POT file and your own tools:

  1. Make a .po file for your language from languages/easy-stream.pot and translate it.
  2. Compile it to easy-stream-<locale>.mo, such as easy-stream-de_DE.mo.
  3. Make the scripts' JSON files from the .po with wp i18n make-json.
  4. Put the .mo and the JSON files in wp-content/languages/plugins/.

Visitors see the site's language. In the admin, each user sees the language set in their profile.