Hello fellow ExpressionEngineers,
I'm in the process of translating the website of one of my companies. It was made in french and I'm doing the english language translation. For that job, it seemed like the rather new EEHarbor's Transcribe module was fit for the job. I think I've got a pretty good understanding of how it should work. The problem is that I can't make it show the proper channel entries regarding the current language. It will always show all entries for the channel no matter if they are in french or in english.
To give you a little background, EE install is 2.5.5, and I'm not using a lot of modules/plugins : NSM Better Meta, NSM Morphine, NSM Live look, NSM Bootstrap, Wyvern, Low Seg2Cat, Detour, Entry Lottoree, Minimee. Nothing too fancy and all up to date.
Following is an example of one of my channel tags :
{exp:channel:entries channel="features_at_glance" dynamic="no" order_by="date" sort="asc" limit="4" {global:param_disable_default}}
<li>
<div class="inner">
<h4 style="background-image: url('{site_url}{feature_at_glance_icon}');">{title}</h4>
<p>{feature_at_glance_content}</p>
</div>
</li>
{/exp:channel:entries}
{global:param_disable_default} comes from NSM Bootstrap and is replaced by disable="categories|pagination|member_data".
I have tried removing every params from the channel without any success. It's still showing every entries for the channel even if you are supposed to view the english version of the website.
Transcribe is configured like so:
Settings
- Default language: French
- Add language prefix to URL: Defined per language
- Transcribe enabled: yes
Languages
French has "add language prefix to URL" set to "no" while english has it set to "yes" (French being the default language, I obviously don't want it prefixed for SEO reasons).
Also, please note that I have also var dumped some var like language_id in Transcribe source code to verify that the proper language was being used and I was able to confirm it was at least correctly detected.
Any ideas what I'm doing wrong?
Thanks!
transcribe="disable"
to your channel entry tag if it still outputs both languages. Also, just to be sure, are you using the fr and en in your urls to make the switch or what are you doing to switch between the two langages, can you add that to your question just for clarification sake?