GithubHelp home page GithubHelp logo

orbitale / translationbundle Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 3.0 224 KB

[Not maintained] Adds a database layer for Symfony's translator, and automatically adds non-translated elements to database. Also provides a GUI and CLI command to extract translations to files (xliff, yml, etc.)

License: MIT License

PHP 87.83% JavaScript 4.91% HTML 7.26%

translationbundle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

translationbundle's Issues

Add support for `transchoice` method.

At the moment, the transchoice method is not supported, and it's kind of a tricky situation for some specialists of Symfony translation.

This method has to be implemented.

Classname::class notation is introduced in PHP 5.5+

I get the following error:

Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /Applications/XAMPP/xamppfiles/htdocs/symfony.local/www/vendor/pierstoval/translation-bundle/Admin/TranslationAdmin.php on line 41

When running the Translation(Sonata)Admin in PHP 5.4, the Translation::class notation on lines 41 and 44, this notation is used. 5.4 is not that old that it should not be supported anymore or is it?

(The PHP documentation on the ::class notation)
http://php.net/manual/en/language.oop5.basic.php#language.oop5.basic.class.class

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.