Translating and tests for rest-api
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
languages Update Japanese translation. Oct 13, 2016
.distignore
.editorconfig first commit Oct 12, 2016
.gitignore
README.md Update README.md Oct 17, 2016
readme.txt first commit Oct 12, 2016
rest-api-i18n.php some fix Oct 12, 2016

README.md

Enables translation for the rest-api

This plugin allows you to translate rest-api plugin before merging into WordPress core.

Requires

rest-api.pot was generated from rest-api 2.0-beta15.

How to add translation

Create a .po file for your locale.

$ cp languages/rest-api.pot languages/rest-api-$locale.po

Translate it and generate .mo.

$ msgfmt languages/rest-api-$locale.po -o languages/rest-api-$locale.mo

$locale should be your locale like de_DE.

Screenshot