Skip to content

kematjaya0/translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translation plugin for Symfony 4.2

  1. install
    composer require kematjaya/translation
    
  2. add to config/bundles.php
    Kematjaya\Translation\TranslationBundle::class => ['all' => true]
    
  3. run command for automatically configuration
    php bin/console kematjaya:translation:configure
    
  4. for add locale, run this command:
    php bin/console kematjaya:translation:add-locale
    
  5. if done, tour URL will be automatically redirect to URL with language, example http://localhost:8000/kmj/language to http://localhost:8000/en/kmj/language
  6. for add, edit, or delete translation, you can access URL http:host/kmj/language or view using console with execute command php bin/console debug:router

thank you

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published