Set locale not only by URI like /en, /ru, /lt but by domain.com, domain.ru, domain.ltCreated 6 years ago by huglester
can someone point where to search for this kind of functionality?
ryanthompson — 6 years ago
You could - different domains in the domains table can force a locale. I would have to double check to make sure it's hooked up properly.
It was one of those things I knew I would need but didn't need at the time and might have not finished.
maxximus007 — 6 years ago
This would be very interesting for me too.. Can handle it myself, but it's way cleaner if it's working out of the box.
So this is called locale hinting: https://github.com/anomalylabs/streams-platform/blob/master/resources/config/locales.php#L21
By default both sub-domain and URI segment hinting will apply. So
ltlocale. Same with