franz-josef-kaiser / WPTranslationInstaller

Custom Composer installer to install WordPress plugin and theme translation files to custom paths.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WordPress Translation

Custom Composer installer for WordPress theme and plugin translation files.

Installation

The package is hosted on Packagist and receives auto-updates. In the CLI, you can install by calling:

composer require wcm/wp-translation-installer-plugin

Loading translation files in themes or plugins

The best thing you - as developer - can do, is to use the provided WP API functions without a path to a subfolder in your theme. This way, the fallback location at wp-content/languages/{name} will automatically be used by WP Core.

About

Custom Composer installer to install WordPress plugin and theme translation files to custom paths.


Languages

Language:PHP 100.0%