refinerycms-i18n icon indicating copy to clipboard operation
refinerycms-i18n copied to clipboard

Domain Name based i18n

Open benxao opened this issue 12 years ago • 7 comments

have several domain names for the same website because the domain names are localised, allow refinery cms to pick locale base on domain name.

ex: www.iam-on-diet.com , www.je-fais-le-regime.fr

benxao avatar May 28 '13 02:05 benxao

I like the idea but I'm not sure if this should be included by default.

How about putting this PR and refinery/refinerycms#2280 in a separate gem which would add this domain functionality to existing Refinery app. WDYT about this approach?

ugisozols avatar May 28 '13 17:05 ugisozols

@ugisozols but than you'll need to override around_recognize :(

simi avatar May 28 '13 19:05 simi

@simi yes. Is there a reason it shouldn't be done that way?

ugisozols avatar May 28 '13 19:05 ugisozols

@ugisozols I think such a feature is essential to i18n. it is only a few lines of code. Maybe the way I do it is not perfect because I am new too all this. Let me know more about the details.

benxao avatar Jun 03 '13 10:06 benxao

@benxao I agree that this feature is essential to i18n but I'm just trying to think of (arguably) better way to implement it.

ugisozols avatar Jun 03 '13 12:06 ugisozols

@parndt do you think we can close this?

simi avatar Jan 22 '15 15:01 simi

It's a nice feature

parndt avatar Jan 22 '15 19:01 parndt