About Language Translator List

Provides language translation capabilities for ProcessWire core and modules including Twig support.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Language Modules
Modules involved in providing multi-language support.
Category 3Process Modules
Process modules are apps that run in the ProcessWire admin.
Release StateStable
Should be safe for use in production environments. *
Authorjustb3a
Module Version1.0.0
Class NameLanguageTranslatorList
Compatibility2.6, 2.7
Date AddedNovember 9, 2015
Last UpdatedApril 7, 2016
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/LanguageTranslatorList/
How to install or uninstall modules

README

ProcessWire

Language Translator List

Extends Language Translator Modul.
Changes view and adds support for other template engines like twig and smarty.
If you don't use another template engine, you can use this module equally.

Designed for use with ProcessWire 3.x http://processwire.com

Installation

  1. Clone the module and place LanguageTranslatorList in your site/modules/ directory.
git clone https://github.com/justonestep/processwire-languagetranslatorlist.git your/path/site/modules/LanguageTranslatorList
  1. Login to ProcessWire admin and click Modules.
  2. Click "Check for new modules".
  3. Click "install" next to the new LanguageTranslatorList module.

Usage

admin/setup/languages

In ProcessWire admin go to admin/setup/languages.
Choose a language and click on the button Translate File.
Now you see a dropdown list of all files you don't have translated for the choosen language yet.

Notice: If you use another template engine, you'll get your .twig, .tpl or .html files listed there as well!

Choose a file, click Translate File and translate all phrases you want to.

Below that list is a language switcher, where you can easily switch your language.

Setup Languages

admin/setup/language-translator

In ProcessWire admin go to admin/setup/language-translator.
On the top is a language switcher as well.
All translated files for the choosen language are listed.
You can edit the belonging phrases by clicking on the file.
Furthermore you can add another file to translate by clicking the Translate another File Button.

Setup Language-Translator

Enable Language Translators for Editors

This module provides a permission called lang-edit (you see this permission listed here: Admin > Access > Permissions).

If a specific role should be able to use the Language Translator just go to Admin > Access > Roles, edit the specific role and check lang-edit.

The modules will display only the site translation files, the core files will be hidden.

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.