Username
Forgot password?
Welcome to our site!
Or Join with FTTF

How can I translate URL/routes?

0

526 views
I would like to translate:
_________.com/askform/
to for example
_________.com/[my_translation]/

Is it possible with router class?
 
asked August 8, 2012 at 2:01 AM

 pl

1 Answer

0
Best answer
 
Try to add your route to [ROUTES] section in !config.ini
myquestion = askform

Then url /myquestion will point to askform controller
Currently non-english charactars are not allowed to be in uri segments so you can't really translate the uri route to your language using utf8 charset but you cat try to spell out controller in English letters.
flag
answered August 8, 2012 at 5:40 AM
Thank you Dmitri
flag
Aug 8 '12 at 11:00

Your answer

Join with account you already have

FTTF

Preview

Alert