April 26, 2012, 12:49pm
i want to ask about translation in url
i have a url
where action are index|view|update|delete
indonesia url translation
where action are index|lihat|mutakhirkan|hapus
how to make translation pair of that url? On the tutorial only describe switch language without change into localisation controller or action
June 19, 2012, 8:19am
Have you found any solution to this? I’m searching for a solution to this for a while now and couldn’t come up with anything. The only way I can see to do this is to define every link in UrlManager’s rule option.
You need to write your own custom URL manager that handles the language code and translated controller names.
You can either hardcode all this or use database queries to check if language codes and controller names are valid.