GithubHelp home page GithubHelp logo

extractom's Introduction

extractOM

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.

Features

  • 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.

Installation

  1. Clone the Repository

    • Clone this repository to your local machine:
      git clone https://github.com/hallame/extractOM.git
  2. Navigate to the Project Directory

    • Change to the project directory:
      cd extractOM
  3. Install Dependencies

    • Follow the Laravel-specific instructions to install any necessary dependencies.

Usage

  1. Run the Script

    • Execute the PHP script to extract translatable strings and generate JSON files.
  2. Translate JSON Files

    • Edit the JSON files to add translations for each language.

Contributing

We welcome contributions from the community! Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.

Contact

For any questions or suggestions, please open an issue or contact us at [email protected].

extractom's People

Contributors

hallame avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.