Open jywarren opened 10 years ago
@jiteshjha Is this something that you completed during your Internationalization project?
I believe this was left unresolved, and has a related PR at #720, but I don't know if there is starting code there. If Jitesh could link to available guides/resources about using subdomain in this way, that would be great.
I also believe there (maybe in #720) was a possible conflict with another use of subdomains (for regions like nyc.publiclab.org) articulated in #720 but we could reconcile both uses, or have one take priority over the other.
On Thu, Nov 10, 2016 at 9:07 PM, Ananya Maiti notifications@github.com wrote:
@jiteshjha https://github.com/jiteshjha Is this something that you completed during your Internationalization project?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/90#issuecomment-259862708, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJzFPZZ1gtdCXEUvxpRyyvzgkOKWsks5q883agaJpZM4B-vFI .
@jywarren we can try to implement this not now but maybe after resolving all the issues of Translation project. Also, here's some guidance for this - https://guides.rubyonrails.org/i18n.html#setting-the-locale-from-the-domain-name
Also, here's warning about the approach we currently use -
:see_no_evil:
Thanks!
Yes, i think that's a good idea. And whoa, ok. We'll have to fix that!
On Tue, Mar 12, 2019 at 3:23 PM Gaurav Sachdeva notifications@github.com wrote:
@jywarren https://github.com/jywarren we can try to implement this not now but maybe after resolving all the issues of Translation project. Also, here's a some guidance for this - https://guides.rubyonrails.org/i18n.html#setting-the-locale-from-the-domain-name
Also, here's warning about the approach we currently use - [image: our_approach] https://user-images.githubusercontent.com/20878070/54229440-43cd9400-452a-11e9-9b06-d2f3da6f499b.png
🙈
Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/90#issuecomment-472145740, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJzgovu3yWUGbRLFDZAlwK2MGmTSpks5vV_6CgaJpZM4B-vFI .
http://stackoverflow.com/questions/18770602/how-to-detect-the-subdomain-from-request-in-a-gem-file
http://es.publiclab.org would be nice!
I think we should be able to access this directly via the
request
object:request.subdomain