Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

PHP web application to manage translation of strings from the React Intl project

License

Notifications You must be signed in to change notification settings

shawnhooper/react-intl-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REACT INTL EDITOR

A web based application to manage translations from JSON files generated by
the React Intl project.

For more information about the React Intl project, see https://github.com/yahoo/react-intl

INSTALLATION

1. Clone the project
2. Add a folder called intl/ in the project
3. Add a folder called intl/locales/ in the project
4. Add a folder called intl/messages/ in the project
5. Copy all the json files containing the messages extracted from the source code into the intl/messages/ folder.
6. Copy any json files containing translated strings into the intl/locales/ folder.
7. Run the project's index.php file to start.

ADDING A NEW LOCALE

To add a new locale to your project, create an empty JSON file in the intl/locales/ folder with the
name of the locale.  For example /intl/en-CA.json for a Canadian English translation.  This will
add the interface elements to the editor.

About

PHP web application to manage translation of strings from the React Intl project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published