2017 © Pedro Peláez
 

symfony-bundle lexik-translation-ui-bundle

UI for LexikTranslationBundle

image

forci/lexik-translation-ui-bundle

UI for LexikTranslationBundle

  • Wednesday, June 6, 2018
  • by grigoryosifov
  • Repository
  • 2 Watchers
  • 0 Stars
  • 206 Installations
  • Vue
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 96 % Grown

The README.md

Usage

Register the bundle as usual and mount its routing., (*1)

!! Make sure it is not publicly accessible., (*2)

forci_lexik_translation_ui:
    # A Service ID that implements
    # Forci\Bundle\LexikTranslationUIBundle\Authorization\TranslationAuthorizationCheckerInterface
    # Optional - example in sample app
    authorization_service: Your\AuthorizationChecker\ServiceId
    # Optional - example in sample app
    description_files:
        - '%kernel.root_dir%/../src/App/Resources/translations_descriptions.yml'
# translations_descriptions.yml
some.translation.key: Some descriptive text to be displayed inside the UI

Then, make a link somewhere in your app to, (*3)

<a href="{{ path('forci_lexik_translation_ui_index') }}">
    Translations
</a>

Play with the Sample App

  • The forci_lexik_translation_ui.config.per_page parameter is hardcoded to 2 for the test application
cd sample/
./bin/console doctrine:database:create -e prod
./bin/console doctrine:schema:update -e prod -f
./bin/console lexik:translations:import App -e prod
./bin/console server:start
./bin/console server:start --docroot public/

If you would like to experiment/develop the user interface:, (*4)

cd src/Resources/vue
npm install
npm run serve
// In order for the API to work, you need to start the local symfony server as per the above block
// build production assets
npm run build

TODO

  • favicon
  • logo
  • use vueup or something else for notificationsg

The Versions

06/06 2018

dev-master

9999999-dev

UI for LexikTranslationBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Martin Kirilov
by Tatyana Mincheva

wucdbm forci lexik translation ui

06/06 2018

v0.1.1

0.1.1.0

UI for LexikTranslationBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Martin Kirilov
by Tatyana Mincheva

wucdbm forci lexik translation ui

06/06 2018

v0.1.0

0.1.0.0

UI for LexikTranslationBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Martin Kirilov
by Tatyana Mincheva

wucdbm forci lexik translation ui