<p>The best solution is to use sections / entries for ALL of your templates. This not only allows to automatically route each local's page URL to a single template, it also makes it possible to set local specific slugs for each entry. You might not care for translated URLs, but Google does.</p>

<p>So what I recommend is to restructure your setup a bit, add a bunch of singles or even better, a structure named "pages", and set the path to your templates in the section settings.</p>

CC BY-SA 3.0
2015-10-09T16:25:55.750Z
Do you mean i cant use a single template for locales if I am extending from a base? Section is specifying only one template. "help" is section name/handle. Template is "help/_entry"
joomkit
CC BY-SA 3.0
2015-10-09T18:00:13.807Z
Not sure I can follow your first sentence, what do you mean with *"extending from a base"*.
carlcs
CC BY-SA 3.0
2015-10-09T18:00:30.797Z
*"Section is specifying only one template"* – that's how it should work. You point all of this section's entry requests (any locale !!) to that template, isn't this what you're after? All locales, one template?
carlcs
CC BY-SA 3.0
2015-10-09T06:02:13.483Z
2015-10-09T06:02:13.483Z
carlcs
<p>How can I avoid local specific templates? I'd like just to use one template for all languages.</p>

<p>My current template structure is extending layouts/_base, and layout/_site [similar to happylager demo] and I have a template called 'help' but i dont want to set 'fr/help', 'es/help'</p>

<localization><templating>
Single template for multiple locales
# Single template for multiple locales

(Asked by: username_0 on 2015-10-08)

How can I avoid local specific templates? I'd like just to use one template for all languages.

My current template structure is extending layouts/\_base, and layout/\_site [similar to happylager demo] and I have a template called 'help' but i dont want to set 'fr/help', 'es/help'

**Tags:** localization, templating

---

## 1 answers

### Answer by username_1 on 2015-10-09. Score: 2 | Accepted answer

The best solution is to use sections / entries for ALL of your templates. This not only allows to automatically route each local's page URL to a single template, it also makes it possible to set local specific slugs for each entry. You might not care for translated URLs, but Google does.

So what I recommend is to restructure your setup a bit, add a bunch of singles or even better, a structure named "pages", and set the path to your templates in the section settings.

> **Comments:**
> **username_0**: Do you mean i cant use a single template for locales if I am extending from a base? Section is specifying only one template. "help" is section name/handle. Template is "help/_entry"  
> **username_1**: Not sure I can follow your first sentence, what do you mean with *"extending from a base"*.  
> **username_1**: *"Section is specifying only one template"* – that's how it should work. You point all of this section's entry requests (any locale !!) to that template, isn't this what you're after? All locales, one template?  

---

