The UrlGenerator->locale() now returns null if the locale length in the url is not two characters. I have had to override the service provider and use my own UrlGenerator because I am using the locales zh-CN and zh-HK to differentiate mandarin and cantonese.
I am just wondering whether the UrlGenerator should in fact be returning null if the locale length is not two characters.
The UrlGenerator->locale() now returns null if the locale length in the url is not two characters. I have had to override the service provider and use my own UrlGenerator because I am using the locales zh-CN and zh-HK to differentiate mandarin and cantonese.
I am just wondering whether the UrlGenerator should in fact be returning null if the locale length is not two characters.
Many thanks