Hi,
I have a problem with one of my templates - multilingual further is not working for it. When you browse by tubes: http://filthlab.com/es/tube/vporn/ categories are not translated, also links to paginating and groups are not correct. For instance the link to page 2 should be http://filthlab.com/es/tube/vporn/ctr/2/, but now it is http://filthlab.com/tube/vporn/ctr/2/
Any idea how to fix all this?
Multilingual problem
Re: Multilingual problem
How do you generate that link in template ?
Don't forget to run script update
Re: Multilingual problem
Fo thumbs:
<div class="plenn"><thumb num=1-100><div class="oddex"><a href="<?php echo $url_lng_prefix?>/gallery/<!--GALLERY_SLUG-->/index.html" rot_id='<!--THUMB_LINK-->' target="_blank" title="<!--ALT-->"><img id='rot<!--GALLERY_ID-->' src="<!--THUMB_URL-->" alt="<!--ALT_60-->" rel="<!--ALL_THUMBS-->" /><!--ALT_33--></a><span class="timerr"><!--DURATION--></span><div class="addox"><?=ezDate('<!--ACTIVATION_DATETIME-->'); ?></div><div class="tubenamme"><a href="<?=$url_lng_prefix?>/tube/<!--SPONSOR_SEO_NAME-->/"><!--SPONSOR_SITE--></a></div><div class="rimmes"><a href="<?php echo $url_lng_prefix?>/category/<!--CATEGORY_2_NAME-->/"><!--CATEGORY_2_CUSTOM_NAME--></a> <a href="<?php echo $url_lng_prefix?>/category/<!--CATEGORY_3_NAME-->/"><!--CATEGORY_3_CUSTOM_NAME--></a> <a href="<?php echo $url_lng_prefix?>/category/<!--CATEGORY_4_NAME-->/"><!--CATEGORY_4_CUSTOM_NAME--></a></div></div></thumb></div>
For pagination:
<!--Pagination1 Start-->
<div class="plenn">
<ul class="skopps"><li class='empty'>pages:</li>
<pagination first_pages=3 adjustment=1 last_pages=3 range_separator="..." skip_href_deletion=true>
<li><a href="<?=$url_lng_prefix?>/tube/<!--SPONSOR_SEO_NAME-->/<!--SORT_ORDER-->/<!--PAGE_NUM-->/" title="<!--PAGE_NUM-->"><!--PAGE_NUM--></a></li>
</pagination>
<div class="plenn"><thumb num=1-100><div class="oddex"><a href="<?php echo $url_lng_prefix?>/gallery/<!--GALLERY_SLUG-->/index.html" rot_id='<!--THUMB_LINK-->' target="_blank" title="<!--ALT-->"><img id='rot<!--GALLERY_ID-->' src="<!--THUMB_URL-->" alt="<!--ALT_60-->" rel="<!--ALL_THUMBS-->" /><!--ALT_33--></a><span class="timerr"><!--DURATION--></span><div class="addox"><?=ezDate('<!--ACTIVATION_DATETIME-->'); ?></div><div class="tubenamme"><a href="<?=$url_lng_prefix?>/tube/<!--SPONSOR_SEO_NAME-->/"><!--SPONSOR_SITE--></a></div><div class="rimmes"><a href="<?php echo $url_lng_prefix?>/category/<!--CATEGORY_2_NAME-->/"><!--CATEGORY_2_CUSTOM_NAME--></a> <a href="<?php echo $url_lng_prefix?>/category/<!--CATEGORY_3_NAME-->/"><!--CATEGORY_3_CUSTOM_NAME--></a> <a href="<?php echo $url_lng_prefix?>/category/<!--CATEGORY_4_NAME-->/"><!--CATEGORY_4_CUSTOM_NAME--></a></div></div></thumb></div>
For pagination:
<!--Pagination1 Start-->
<div class="plenn">
<ul class="skopps"><li class='empty'>pages:</li>
<pagination first_pages=3 adjustment=1 last_pages=3 range_separator="..." skip_href_deletion=true>
<li><a href="<?=$url_lng_prefix?>/tube/<!--SPONSOR_SEO_NAME-->/<!--SORT_ORDER-->/<!--PAGE_NUM-->/" title="<!--PAGE_NUM-->"><!--PAGE_NUM--></a></li>
</pagination>
Re: Multilingual problem
Use regular tags plz
<!--LNG_CODE--> or <!--LNG_URL_PREFIX--> (basically the same)
<!--LNG_CODE--> or <!--LNG_URL_PREFIX--> (basically the same)
Don't forget to run script update
Re: Multilingual problem
I replaced for pagination:
<li><a href="<?=$url_lng_prefix?>/tube/<!--SPONSOR_SEO_NAME-->
with:
<li><a href="<!--LNG_CODE-->/tube/<!--SPONSOR_SEO_NAME-->
and the result is the same
I don't think the problem is in the way of linking. Like I mentioned, categories are not translated, when you browse by tubes. I'm adding categories in this template like this: <!--INCLUDE_TEMPLATE_catstxt-->
I'm using absolutely the same way of linking and adding categories in other templates, like "content_list", and there all is working fine.
<li><a href="<?=$url_lng_prefix?>/tube/<!--SPONSOR_SEO_NAME-->
with:
<li><a href="<!--LNG_CODE-->/tube/<!--SPONSOR_SEO_NAME-->
and the result is the same
I don't think the problem is in the way of linking. Like I mentioned, categories are not translated, when you browse by tubes. I'm adding categories in this template like this: <!--INCLUDE_TEMPLATE_catstxt-->
I'm using absolutely the same way of linking and adding categories in other templates, like "content_list", and there all is working fine.
Re: Multilingual problem
Just checked w/o cache, and got the same result.
Re: Multilingual problem
Ok, send me admin area plz and where to check
Don't forget to run script update
Re: Multilingual problem
Did you get the PM?
Re: Multilingual problem
Yes
I checked template 'tube'
it had
"php echo $url_lng_prefix?>/"
where did you replace it with <!--LNG_CODE--> ?
I checked template 'tube'
it had
"php echo $url_lng_prefix?>/"
where did you replace it with <!--LNG_CODE--> ?
Don't forget to run script update