2017 © Pedro Peláez
 

flarum-extension linguist

Customize translations

image

flagrow/linguist

Customize translations

  • Sunday, June 10, 2018
  • by clarkwinkelmann
  • Repository
  • 3 Watchers
  • 5 Stars
  • 579 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 56 % Grown

The README.md

Linguist by FriendsOfFlarum

MIT license Latest Stable Version Total Downloads, (*1)

With this extension you can configure alternate or missing translation strings for your forum. Includes:, (*2)

  • No manual translation file editing required, everything is configured via the admin UI
  • Translate frontend or backend strings
  • Override the translation for a specific locale or all installed locales
  • Easily search for strings by name or value in any language
  • Multiple filters to find strings that are missing translations or belong to a specific extension

After editing translations, Linguist will offer you the opportunity to clear the forum cache. For performance reasons, Linguist won't attempt to clear the cache by itself., (*3)

If the new translations don't show up, try clearing the cache again by using Dashboard > Tools > Clear cache or by running php flarum cache:clear., (*4)

Also note Flarum uses a "one place, one translation key" approach to translations, so you might have to edit several keys to replace a specific keyword., (*5)

Installation

composer require fof/linguist

Updating

composer require fof/linguist
php flarum migrate
php flarum cache:clear

Updating from Flagrow

This extension replaces Flagrow Linguist., (*6)

To upgrade from the old extension to the new one:, (*7)

  • Disable the Linguist extension in the admin panel., (*8)

  • Run:, (*9)

composer require fof/linguist

Composer should let you know that flagrow/linguist has been automatically removed., (*10)

  • Enable the new extension in the admin panel., (*11)

  • Your existing translations will be migrated to FoF Linguist automatically., (*12)

  • Edit a translation or clear the cache to apply the existing translations to the forum., (*13)

Configuration

Once enabled, a new tab will show up in the admin to configure translations., (*14)

The tab will list all translations strings registered by extensions on your forum. You can customize the text by entering your own value in the field., (*15)

A special field "all" allows you to define a single text that will be shown in all languages., (*16)

Keep in mind some strings contain references in the form {referencename} that you have to keep identical if you want the data to show up., (*17)

An extension by FriendsOfFlarum, (*18)

The Versions

10/06 2018

dev-master

9999999-dev

Customize translations

  Sources   Download

MIT

The Requires

 

extension translation locale flarum flagrow

10/06 2018

0.2.0

0.2.0.0

Customize translations

  Sources   Download

MIT

The Requires

 

extension translation locale flarum flagrow

18/10 2017

0.1.2

0.1.2.0

Customize translations

  Sources   Download

MIT

The Requires

 

extension translation locale flarum flagrow

05/10 2017

0.1.1

0.1.1.0

Customize translations

  Sources   Download

MIT

The Requires

 

extension translation locale flarum flagrow

05/10 2017

0.1.0

0.1.0.0

Customize translations

  Sources   Download

MIT

The Requires

 

extension translation locale flarum flagrow