<p>I'm new to Craft.  I've the following questions about locales for a international company.</p>

<p>Configuration could look like this:</p>

<pre><code>'siteUrl' =&gt; array(
    'en' =&gt; 'domain.com/en',
    'en_us' =&gt; 'domain.com/us'
    'it' =&gt; 'domain.com/it',
    'de' =&gt; 'domain.com/de',
    'es_es' =&gt; 'domain.com/es',
    'es' =&gt; 'domain.com/es'
)
</code></pre>

<ol>
<li><p>I want to have a generic international version, without any slug, in English. How am I supposed to configure that?</p></li>
<li><p>I want the same contents for Spain and other Latin countries but I want to distinguish locales, to target at least Spain specifically. Do I need to create a locale or just use the correct <code>hreflang</code> in HTML?</p></li>
</ol>

CC BY-SA 3.0
2017-07-21T18:16:34.020Z
For #1, wouldn't the generic English version just be `'en' => 'domain.com'`?
Brad Bell
CC BY-SA 3.0
2017-07-25T13:15:46.227Z
Yes, that's what I did in the end. I wasn't sure it was the proper way.
Alessio Breviglieri
<craft-features>
Targeting multiple countries with one locale
# Targeting multiple countries with one locale

(Asked by: username_0 on 2017-07-21)

I'm new to Craft.  I've the following questions about locales for a international company.
Configuration could look like this:
'siteUrl' => array(
    'en' => 'domain.com/en',
    'en_us' => 'domain.com/us'
    'it' => 'domain.com/it',
    'de' => 'domain.com/de',
    'es_es' => 'domain.com/es',
    'es' => 'domain.com/es'
)


I want to have a generic international version, without any slug, in English. How am I supposed to configure that?
I want the same contents for Spain and other Latin countries but I want to distinguish locales, to target at least Spain specifically. Do I need to create a locale or just use the correct hreflang in HTML?

**Tags:** craft-features
> **Comments:**
> **username_1**: For #1, wouldn't the generic English version just be `'en' => 'domain.com'`?  
> **username_0**: Yes, that's what I did in the end. I wasn't sure it was the proper way.  

---

## 0 answers

