extractOM is a PHP script for Laravel projects, designed to extract translatable strings and store them in JSON files within a lang
directory. This script simplifies the management of translations for multilingual websites.
- String Extraction: Traverses Laravel project files to extract translatable strings.
- JSON Storage: Stores extracted strings as JSON files, making it easier to manage translations in multiple languages.
-
Clone the Repository
- Clone this repository to your local machine:
git clone https://github.com/hallame/extractOM.git
- Clone this repository to your local machine:
-
Navigate to the Project Directory
- Change to the project directory:
cd extractOM
- Change to the project directory:
-
Install Dependencies
- Follow the Laravel-specific instructions to install any necessary dependencies.
-
Run the Script
- Execute the PHP script to extract translatable strings and generate JSON files.
-
Translate JSON Files
- Edit the JSON files to add translations for each language.
We welcome contributions from the community! Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.
For any questions or suggestions, please open an issue or contact us at [email protected].