[Neos] Locale Routing

Bastian Waidelich bastian at typo3.org
Thu Jul 25 09:54:54 CEST 2013


Carsten Bleicker wrote:

Hi Carsten,

> Does anybody has a solution to route something like /de/ as locale?

It should be fairly easy to create a custom Route Part Handler[1] that 
accept a given (configurable?) set of strings ("de", "en", ...) and sets 
the locale accordingly vice versa.

See [2] for a similar request with a sample handler[2] (I didn't test it).


[1] 
http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/Routing.html#route-part-handlers

[2] https://review.typo3.org/#/c/11443/


-- 
Bastian Waidelich
--
Core Developer Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the Neos mailing list