Coder Social home page Coder Social logo

laravel-phraseapp's Introduction

Laravel PhraseApp Package

Supports L5.4

This package offers you a way of downloading translated keys from https://phraseapp.com. This translation tool supports tagging which is used to separate your key set.

Commands / Features

Download

Fetched the configured list of Locales per Tag from your PhraseApp.com and creates one file per Tag under you resources/lang/locale/ directory.

+PhraseApp - Suggestion of usage+

When importing/inserting new keys, I suggest to use tags as API accept it as filter option.

Install

Add Service provider

Open your config/app.php and insert the following in providers key:

Ajaaleixo\PhraseApp\PhraseAppServiceProvider::class,

Add a Storage Disk

Open your config/filesystems.php and insert the following code:

'disks' => [
(...)
'lang' => [
    'driver' => 'local',
    'root' => resource_path('lang'),
],
]

Run Publish command

php artisan vendor:publish --provider="Ajaaleixo\PhraseApp\PhraseAppServiceProvider"

Edit your settings

Open config/laravel-phraseapp.php and create each .env key and edit the following:

  • project_id
  • api.key
  • identification

Roadmap

  • Phraseapp:Upload Push existing translations to PhraseApp
  • Phraseapp:Get:Locales Displays a Table with Available Locales in your Account

laravel-phraseapp's People

Contributors

ajaaleixo avatar emanueldelgado 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.