2017 © Pedro Peláez
 

silverstripe-module silverstripe-langeditor

CMS module to edit static language files.

image

unclecheese/silverstripe-langeditor

CMS module to edit static language files.

  • Wednesday, December 28, 2016
  • by unclecheese
  • Repository
  • 5 Watchers
  • 21 Stars
  • 256 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 3 Open issues
  • 5 Versions
  • 26 % Grown

The README.md

LangEditor Module

Gives a CMS user the ability to change the static language files and translate them into new languages., (*1)

Maintainer Contact

  • Uncle Cheese

Requirements

SilverStripe CMS ~3.x-dev / 3.6.x-dev, (*2)

Installation

  • Download the module
  • Extract the downloaded archive into your site root so that the destination folder is called langeditor, opening the extracted folder should contain _config.php in the root along with other files/folders
  • Run dev/build?flush=all to regenerate the manifest

Usage

A new section 'Translator' is added to the CMS., (*3)

You can filter the language files by module and language with the filter options on the left. Once selected the translations are displayed on the right. You can search within the translation using the search field and the namespace dropdown., (*4)

You can copy a language file into a new language using the copy function. After copying the file you can translate its content., (*5)

If you use Translatable extension, the setting for Translatable::get_allowed_locales() is used to determine what languages can be created., (*6)

If you use Fluent extension, the setting for Fluent::locales() is used to determine what languages can be created., (*7)

To hide certain modules or languages from translation add the following to your _config:, (*8)

Config::inst()->update('LangEditor', 'exclude_modules', [
    'cms',
    'framework',
    '[module folder]',
]);

Config::inst()->update('LangEditor', 'exclude_locales', [
    'en_GB',
]);

Or via yaml config file:, (*9)

LangEditor:
    exclude_modules:
        - 'cms'
        - 'framework'
        - '[module folder]'
    exclude_locales:
        - 'en_GB'

The Versions

28/12 2016

dev-master

9999999-dev

CMS module to edit static language files.

  Sources   Download

The Requires

 

silverstripe languages

28/12 2016

2.0.3

2.0.3.0

CMS module to edit static language files.

  Sources   Download

The Requires

 

silverstripe languages

28/12 2016

2.0.2

2.0.2.0

CMS module to edit static language files.

  Sources   Download

The Requires

 

silverstripe languages

29/11 2016

2.0.1

2.0.1.0

CMS module to edit static language files.

  Sources   Download

The Requires

 

silverstripe languages

14/03 2014

2.0

2.0.0.0

CMS module to edit static language files.

  Sources   Download

The Requires

 

silverstripe languages