Questions tagged [localization]

Locales and multi-lingual translations.

Filter by
Sorted by
Tagged with
2
votes
1answer
23 views

How to configure the system messages <link> url?

we have got a multisite environment and have imported users with different preferred languages (de and en). Therefore we made a module, cause the feedme plugin doens't set the preferred language https:...
1
vote
1answer
24 views

Craft 2 new locale and dealing with root-relative links

Hi I am adding new locale which is jp and I have a huge problem with href tag. Our paragraph field have href links using relative link like this: <a href="/page_a"> page a</a> ...
1
vote
1answer
14 views

Translate icon appears but no translations exist

I have a site in development that i replicated from another project. The other project was multi lingual and had some fields that were translated. This new site does not require any translations but ...
1
vote
1answer
36 views

Propagate entries manually between sites

I have a client that wants to setup a multilingual site, but for the purpose of this site they only want certain entries to be translated. If I setup sites that use a section which is configured to ...
1
vote
1answer
32 views

Update entry title for all sites

I'm working on a Craft project that has 3 sites. The content for one section is pulled from an API using a console script which runs every 5 minutes. This has been working fine but I've discovered a ...
0
votes
0answers
60 views

Upgrading to 3.5 break multisite

Just upgraded to Craft 3.5+ and now all my non-primary site's pages are not found. All my english page (primary site is in french) returns a "Template not found". So "en/anypage" ...
1
vote
0answers
20 views

Translation filter in Sprout Email plugin

I would like to make a notification of Sprout Email plugin bilingual. However, in the body field, the translation filter does not work. The tag of {{ fieldname.label|t }} is not translated. How is it ...
1
vote
1answer
23 views

Use locale not included in Craft

I have to develop a website under Craft CMS 2 and going to Locale Options I see I can add a language, but I need to use a language that is not included in the official codes for the representation of ...
1
vote
1answer
22 views

Using static translations for the primary site / site.php being ignored

I'm having trouble outputting static translations for the primary site, and only the primary site. Translations structure: translations en-US site.php site.php <?php return [ '...
1
vote
1answer
46 views

Localization Section propagation settings, and related entry field setting “Manage relations on a per-site basis”

Craft 3.4.20. Site is running multiple localizations Sections: Blog Post Propagation method set to, "Save entries to all sites enabled for this section" Blog Category (Structure entry with ...
1
vote
1answer
16 views

Channgel entry to disabled

Is it possible that when my user adds a new entry in a channel on the English site, it gets copied to the channel of my Belgian site, but this entry is set automatically to disabled? So my English ...
1
vote
1answer
20 views

Multilingual google problems

I’ve set up a multilingual craft site. My primary site is BE and base Url is set to / The two other ones are NL which base Url is set to /nl and LU which is set to /lu All the three website have en-US ...
0
votes
0answers
31 views

Super Table fields in Matrix blocks not automatically propagating content across sites

Please bear with me as I try to explain what's going on. Feel free to ask for more details if needed. Simply put, Super Table fields in Matrix blocks are giving me trouble for multi-site. I am ...
2
votes
1answer
67 views

Is it possible to localize Freeform fields and labels?

Is it possible to localize labels and other params of Freeform form fields on the multilingual site? Thanks
1
vote
1answer
43 views

Feed Me import from CSV ignores decimal point

I use Feed Me to import values from a .csv file into my entries. Since a day i have an issue i can't explain. I didn't change anything. Precisely, the issue concerns a number field. In the .csv file, ...
0
votes
0answers
10 views

Category filter with localization?

I'm using craft 2 and have a list of category which are: category A. category B. An entry which have different assigned categories in 2 locales. An example entry belongs on category B in English ...
1
vote
1answer
65 views

Implement hreflang with multi sites

I currently have multi site config. One site have 2 locales. My configuration like so: 'example.com' => array( 'siteUrl' => array( 'us_en' => 'https://www.example.com/', '...
1
vote
1answer
33 views

Get all URLs from a multisite installation

I have an multisite installation like this: www.example.com/animal www.example.uk/animal Each site has a configuration like so: 'example.com' => array( 'siteUrl' => array( ...
0
votes
0answers
15 views

Automatically replace strings in different language

We have sites for Germany and Switzerland that are pretty much identical but would like to cater to the spelling differences in Switzerland (namely replacing "ß" with "ss"). Is there any way to run ...
1
vote
1answer
23 views

Identifying users and site permissions when logged in

If I'm logged in as a user in user Group A, how can I tell which site I am currently viewing? I want to be able to create a multilingual site switcher. But my setup is complex. I have Company A, ...
0
votes
0answers
24 views

Localized slug in dynamic asset path

I'm trying to save images in a folder name based on their English slug (or title), to avoid having duplicate folders with titles in different languages. In Craft 2 I did {{object.locale('en').title|...
1
vote
1answer
25 views

How to create a new site (locale: de-AT) based on another site (de) within same installation?

I manage a website with multiple languages. Each language has its own site and domain. Think: website.de and website.co.uk I have to add another site with different locale (de-AT) to the Craft CMS ...
0
votes
0answers
59 views

How can i get the current applied route in CraftCMS?

I'm using a dynamic route that loads a template. I'm on a multisite setup with a language switch in the header menu. To be able to switch between sites or languages, the dynamic routes need to have ...
1
vote
2answers
132 views

Static translations not working on Craft 3 since upgrade from Craft 2

I have upgraded from Craft2 to Craft3 and static translations no longer seem to work. I have created a folder at the same level as the "vendor" folder called "translations" and have got a folder ...
1
vote
1answer
138 views

Craft 3 doesn't translate static strings

I am making a website with Craft 3 and I have some static text that needs to be translated. I followed Craft's documentation on it. I created my translations/fr/site.php file and use the {{ 'String'|...
0
votes
0answers
12 views

Stalled Task During Locale Activation

When attempting to enable a new locale on an existing Craft 2 site, the task is stalling out at the same point every time. It gets to step 3 which is Resaving entries and then the following PHP error ...
2
votes
1answer
34 views

Multisite, second language Live Preview not working

I have an English site - https://dev.mysite.com and a Japanese site - https://dev.mysite.com/jp. Live preview works great for the English site, but the Japanese site has the following error: Mixed ...
1
vote
1answer
56 views

How to host a huge website on Craft (10k pages, over a dozen languages, 2GB database)

We have what appears to be a very large website. We have a strong content strategy which has led us to develop a huge number of pages (over 10k) for our website, as well as building out a significant ...
1
vote
1answer
54 views

How to handle a big amount of whitelabel sites (with multi-site)

For one of our clients we need to setup a whitelabel template. I was considering doing this with Craft's Multi site feature which works fine in that way Content management wise. But, it's probably ...
2
votes
1answer
72 views

How to get current site (locale) api / plugin

For my form plugin I'm using a global set of fields. These can be set in 2 languages default and en. Problem is whenever I try to output them I cant dynamically make them use the current site locale/...
0
votes
0answers
22 views

Character Limit incorrect for international characters

I've been running into errors importing specific entries in my custom module. Boils down to an issue with the Character Limit on the Plain Text fieldtype when importing international characters. It ...
0
votes
0answers
119 views

Feed me - Trouble importing table and matrix with translation

I'm trying to import entries to a chanell using Feed me but having some issues with table and with some multilingual texte in a matrix field. Craft edition & version Craft Pro 3.3.2 Feed Me 4....
0
votes
0answers
25 views

Craft 3 Multi-site with no “default” site AND where control panel login route remains intact and additional directories not necessary

Maybe one of you can help me out? I've tried setting up a multi-language site with no "default site" as per Craft 3 Multi-site with no "default" site. So far so good, except the control ...
1
vote
1answer
24 views

Route to entry in Arabic not working but category route is OK

I have successfully managed to route Arabic categories to a custom template. The Arabic URLs appear RTL which is strange (and correct?), but I cannot get the Arabic single entry to pick up the ...
0
votes
0answers
259 views

URI is not a valid URI error after recent update

Has this old issue recurred in a very recent update: URI is not a valid URI Just a few weeks ago I imported Korean content using FeedMe just fine, I have a setting 'limitAutoSlugsToAscii' => false, ...
1
vote
1answer
22 views

Incomplete localization of `{{ entry.postDate.diff(now)|duration }}`

In a Dutch site, when I output {{ entry.postDate.diff(now)|duration }}, the result is something like 5 dagen, 3 uren, 43 minuten, and 42 seconden. Why is the English "and" not localized? My ...
0
votes
0answers
31 views

How can I sync slugs within sites in the same Group?

I have a Craft site with approx. 13 Sites. They are grouped by language, e.g. German has Germany and Austria in it. Spanish has Spain and Mexico in it. I imported all content to the main groups ...
1
vote
0answers
18 views

Locales with independent language and country

How might we use Craft to manage our locales, keeping our language and country logic independent? The desired scenario: No duplicate language entries: Spanish in Spain would be the same as Spanish in ...
2
votes
2answers
72 views

Mutiple sites and locales

I'm trying to setup alternate locales for content across several sites. I have the following scenario: - Group siteA - siteA.com/product-1 - Group siteB - siteB.com/product-2 - siteB.com/fr/...
1
vote
1answer
116 views

Entry form with field translated accross multiple sites

I've got 2 sites, each with a locale (dutch - nl & french - fr). I've set up a frontend entry form that works nicely for all not translated fields, I am however struggling to get it to accept ...
1
vote
1answer
73 views

Is there a way to auto-create a sections Site Settings and propagate when a new site is created?

My customer will have lots of sections and lots of entries in each, for each site. Over time they will add new language sites. When a new site is added, there are no sections or entries for it. So ...
1
vote
1answer
101 views

Restrict a users permission to only edit 'translatable' fields on a specific site?

We would like to have a 'translators' user group, where the members can edit only the 'translatable' fields, but not the non translatable things (images, categories etc). May be i missed something, ...
3
votes
1answer
148 views

How to query entries written in a specific locale? (Craft 3)

In Craft 2 you used to be able to do something like {% set entries = craft.entries.section('something').locale('de') %} but .locale() has been removed and there's nothing similar in the docs that I ...
1
vote
1answer
114 views

Same site name in multiple languages

We have a site with multiple languages so I created a site for each language. I named these according to the language so, one is named "French", another "English" etc. Now in the backend this is all ...
1
vote
1answer
57 views

Localization - “not found” in CP on language selection

Folks: I'm creating a localized site on Craft2 and CraftCommerce. I have followed the instructions for creating a localized site but none of the content shows at the localized URL and the homepage ...
1
vote
1answer
62 views

Language Switcher with Users

I have the following setup for a language switcher. I have Member Directory pages which are using Users (rather than Entires or Categories). How can I update this to get it working on these pages? {% ...
1
vote
1answer
36 views

Using language specific variables inside section URL settings

When i use some kind of variable in url settings of section, it always uses default language version of this variable. For example, blog has two languages, english (default) and german. If i use ...
1
vote
2answers
105 views

If other languages are not defined show english

Is it possible to get the english content on the, for example, Spanish site if the Text for the specific language is not defined yet? I do not mean a redirect! The English version should be displayed ...
1
vote
1answer
169 views

Craft CMS 3 - Always load “en” translation file

I have 2 sites (fr and en), fr is default. In index.php, I have define('CRAFT_SITE', 'fr') and define('CRAFT_SITE', 'en') In templates, I'm using {{ 'Texte FR'|t }} tag. In /craft/translations/en/...
2
votes
1answer
59 views

Change translation format in Craft CMS

I'm trying to get my Craft translations to work with the translation management tool Phraseapp. The standard format for translation-files in Craft CMS looks like this: # de.php return [ '...

1
2 3 4 5
8