Git Product home page Git Product logo

documentation's People

Contributors

aradoje avatar b-galati avatar bocharsky-bw avatar damienalexandre avatar flolivaud avatar nyholm avatar pierstoval avatar sboden avatar sterrien avatar stof avatar welcomattic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

documentation's Issues

make "auto_add_missing_translations" work in prod

In this page : /blob/master/symfony/auto-add-missing.rst

There's a workaround to make "auto_add_missing_translations" working in prod.

However, in symfony 4.2 that workaround does not work in any config file (that I am aware of) and breaks the config.

Note that everything work well in DEV with the profiler enabled.

My env :
-ubuntu

  • php 7.2
  • symfony 4.2.*
  • "symfony/translation": "4.2.*",
  • "php-translation/symfony-bundle": "^0.8.1",

File extractors to get translations

Hello,

First of all, thank you for your work, I'm trying to get it working on a project and so far it's going well. I've found your bundle in a comment you made here.

I just wanted to understand something as I've not found it in the Symfony doc :

  • translations keys are fetched from PHP and Twig files (as said in config file), so the config entry dirs is not meant to point directly at a translation folder like src/AppBundle/Resources/translations. Is that correct ?
  • in that way, how can translations be filled from already written translations ? For example, I'm writting my translations in a YAML file in my bundle. Is there a config key to use those ?

Thank you.

Is translastion of routes included?

Hello!

This is not an issue, but I couldn't open a PR for this.

With my previous symfony bundle (jms) I was able to translate my routes for different languages.
/contact = /kontakt = /contacto = etc.

Is there a config for enabling this feature or is it planned?

thx in advance

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.