JMSI18nRoutingBundle icon indicating copy to clipboard operation
JMSI18nRoutingBundle copied to clipboard

Please mention in the docs that routes starting with _ are excluded

Open g-g opened this issue 11 years ago • 6 comments

If you test the bundle with the default AcmeDemoBundle, it is not working. Because the routes start with an underscore. I nearly discarded the plugin because of this.

It would be good to mention it the documentation, that routes beginning with an underscore are excluded by default. Thanks!

g-g avatar Aug 17 '12 10:08 g-g

How much of the documentation did you read when you needed this? Just the installation chapter?

schmittjoh avatar Aug 17 '12 10:08 schmittjoh

everything that I could find. http://jmsyst.com/bundles/JMSI18nRoutingBundle/master

  • index
  • install
  • config
  • usage
  • language switcher and resources/doc/*

g-g avatar Aug 17 '12 10:08 g-g

The goal of my question was more to find the best place where to put such a message :)

schmittjoh avatar Aug 17 '12 10:08 schmittjoh

Yes, after being insulted for a sec, I thought so :)

I would put it in usage.

Maybe you could also mention , that a route.{locale}.xliff file with translations can be used, where the translation source is the route name, and the translated pattern is the target. I couldn't run your route translation extractor out of the box, and for experimenting, this information would suffice.

Thanks for your bundles!

g-g avatar Aug 17 '12 11:08 g-g

+1, anywehere would be great...

codebakery-ch avatar Sep 23 '13 09:09 codebakery-ch

This issue can be closed.

ghost avatar May 03 '15 22:05 ghost