New answers tagged localization
1
vote
Accepted
Save matrix/neo field value programmatically only for one site/locale
Finally the solution is found.
In Channel Setting is: Save entries to all sites enabled for this section.
In Neo Field Settings: Only save blocks to the site the were created in.
$entry = new Entry();
...
- 79
5
votes
How to handle a single page that is a different language?
Another way you could do this - that wouldn't be sustainable to expand later - is to create two landing pages as singles in Craft CMS.
Then, create a new template for wherever you keep your header ...
- 566
1
vote
How to handle a single page that is a different language?
I would still recommend to create an additional site with a different language setting in Craft (Settings > Sites).
I recommend sharing one section between the 2 sites (pages?). Make sure, the ...
- 1,872
Top 50 recent answers are included
Related Tags
localization × 405craft3 × 52
multi-site × 48
language × 31
templating × 22
plugin-development × 21
entries × 20
url × 18
assets × 15
matrix × 14
multi-environment × 12
control-panel × 11
config × 11
entry × 10
datetime × 10
categories × 7
users × 7
sections × 7
navigation × 7
globals × 7
multi-domain × 7
craft2 × 6
routes × 5
plugin-feedme × 5
craft-pro × 5