-
AuthorPosts
-
truemaker Friend
truemaker
- Join date:
- April 2013
- Posts:
- 50
- Downloads:
- 29
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
September 26, 2016 at 10:07 am #971012Hi
Joomla 3.6.2 and JA_University_t3 =
system plugin (system – languagecode ) not change lang attribute (from "uk-UA" to "ua") in html tag of page.
But correct change it in ie block before (<!–[if IE 8]> …).<!DOCTYPE html> <!--[if IE 8]> <html prefix="og: http://ogp.me/ns#" lang="uk" dir="ltr" class="ie8 lt-ie9 lt-ie10 com_k2 view-itemlist layout-category task-category itemid-268 j36 mm-hover"> <![endif]--> <!--[if IE 9]> <html prefix="og: http://ogp.me/ns#" lang="uk" dir="ltr" class="ie9 lt-ie10 com_k2 view-itemlist layout-category task-category itemid-268 j36 mm-hover"> <![endif]--> <html prefix="og: http://ogp.me/ns#" lang="uk-ua" dir="ltr" class='com_k2 view-itemlist layout-category task-category itemid-268 j36 mm-hover'> <head> ....
you can see in result 3 lang
twice lang="uk" (changed ok)
and lang="uk-ua" (not changed) in main html.
May be head block of template or t3 plugin not change for system plugin of Joomla?Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 28, 2016 at 4:03 am #971557Hi
I tried to switch UA and EN flag but it seems to be working well, is that solved?
truemaker Friendtruemaker
- Join date:
- April 2013
- Posts:
- 50
- Downloads:
- 29
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
September 28, 2016 at 11:42 am #971734Hi
Test empty site = http://2016new1.um.la/
Joomla 3.6.2
ja_university_t3 – 1.1.5 – 01 September 2016only one language content without switch = en-GB
System – Language Code = (OFF)
<!DOCTYPE html> <!--[if IE 8]> <html prefix="og: http://ogp.me/ns#" lang="en-gb" dir="ltr" class="ie8 lt-ie9 lt-ie10 com_content view-featured itemid-101 home j36 mm-hover"> <![endif]--> <!--[if IE 9]> <html prefix="og: http://ogp.me/ns#" lang="en-gb" dir="ltr" class="ie9 lt-ie10 com_content view-featured itemid-101 home j36 mm-hover"> <![endif]--> <html prefix="og: http://ogp.me/ns#" lang="en-gb" dir="ltr" class='com_content view-featured itemid-101 home j36 mm-hover'> <head> ....
===========================
System – Language Code = (ON)
For more difference example preset (en-GB) to (uk-UA)in result i see 2 changed OK, but main html tag not changed
<!DOCTYPE html> <!--[if IE 8]> <html prefix="og: http://ogp.me/ns#" lang="uk-ua" dir="ltr" class="ie8 lt-ie9 lt-ie10 com_content view-featured itemid-101 home j36 mm-hover"> <![endif]--> <!--[if IE 9]> <html prefix="og: http://ogp.me/ns#" lang="uk-ua" dir="ltr" class="ie9 lt-ie10 com_content view-featured itemid-101 home j36 mm-hover"> <![endif]--> <html prefix="og: http://ogp.me/ns#" lang="en-gb" dir="ltr" class='com_content view-featured itemid-101 home j36 mm-hover'> <head> ....
===========================
P.S. I tested this function on Joomla demo account here
https://demo.joomla.org/I was preset default joomla template and plugin on.
ALL lang atribute will be changed OK.
May be difference in t3 plugin?
WBR,
Igor
truemaker Friendtruemaker
- Join date:
- April 2013
- Posts:
- 50
- Downloads:
- 29
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
September 28, 2016 at 11:47 am #971743And my error in title
JA_University t3 (lang not change by system Joomla 2.6.2 plugin)Joomla 3.6.2
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 29, 2016 at 8:34 am #972070Kindly check your site again: http://prntscr.com/cnoe9c
You can simply switch default template (JA University) to another standard template of Joomla like Beez/Protostar and see how it goes.
truemaker Friendtruemaker
- Join date:
- April 2013
- Posts:
- 50
- Downloads:
- 29
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
September 29, 2016 at 1:00 pm #972174Hi
I removed site to test subdomain of university.
No problem with google after it.
https://tools.pingdom.com/#!/QHB27/http://2016new1-test.krok.edu.ua/en/New url http://2016new1-test.krok.edu.ua/en/
2 subpage preset (en-GB) in article and menuitem.
http://2016new1-test.krok.edu.ua/en/typography-t3.html This page in JA_University template with problem as before. lang="uk-ua" lang="uk-ua" lang="en-gb"
<!DOCTYPE html> <!--[if IE 8]> <html prefix="og: http://ogp.me/ns#" lang="uk-ua" dir="ltr" class="ie8 lt-ie9 lt-ie10 com_content view-article itemid-287 j36 mm-hover"> <![endif]--> <!--[if IE 9]> <html prefix="og: http://ogp.me/ns#" lang="uk-ua" dir="ltr" class="ie9 lt-ie10 com_content view-article itemid-287 j36 mm-hover"> <![endif]--> <html prefix="og: http://ogp.me/ns#" lang="en-gb" dir="ltr" class='com_content view-article itemid-287 j36 mm-hover'> <head> ......
http://2016new1-test.krok.edu.ua/en/test-with-default-template.html This page with Protostar template. Lang attribute changed OK >>> lang="uk-ua"
<!DOCTYPE html> <html prefix="og: http://ogp.me/ns#" lang="uk-ua" dir="ltr"> <head> .....
I think joomla plugin must work as LAST after t3. I think t3 plugin insert main html tag AFTER joomla system plugin.
What do you recommend for it?
WBR, Igor
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 30, 2016 at 2:58 am #972358Hi Igor,
Could you provide the admin & ftp account of this site so I will have a look?
truemaker Friendtruemaker
- Join date:
- April 2013
- Posts:
- 50
- Downloads:
- 29
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
September 30, 2016 at 11:33 am #972504This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 3, 2016 at 8:45 am #972958Let me take a look and will get back to you.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 4, 2016 at 8:04 am #973302Hi @truemaker
I checked the language on your site and changed some configuration on your site.- Removed uk-UA on Plugins: System – Language Code plugin
- Added Russian and Ukrainian (uk-UA) languages to Languages: Installed (Site)
You can see that configuration from my screenshot and the problem on your site is gone.
Regards-
truemaker Friend
truemaker
- Join date:
- April 2013
- Posts:
- 50
- Downloads:
- 29
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
October 6, 2016 at 9:24 am #974066Hi, Ninja Lead
I mean that Plugins: System – Language Code not change attribute in main html. In description plugin write
Changes the language code for the generated HTML document. Example of use: You have installed the fr-FR language pack and want the Search Engines to recognise the page as aimed at French-speaking Canada. Add the tag ‘fr-CA’ to the corresponding field for ‘fr-FR’ to resolve this.
Preset – SCREENSHOT in attach. http://2016new1-test.krok.edu.ua/en/typography-t3.html
<!DOCTYPE html> <!--[if IE 8]> <html prefix="og: http://ogp.me/ns#" lang="en-fr" dir="ltr" class="ie8 lt-ie9 lt-ie10 com_content view-article itemid-287 j36 mm-hover"> <![endif]--> <!--[if IE 9]> <html prefix="og: http://ogp.me/ns#" lang="en-fr" dir="ltr" class="ie9 lt-ie10 com_content view-article itemid-287 j36 mm-hover"> <![endif]--> <html prefix="og: http://ogp.me/ns#" lang="en-gb" dir="ltr" class='com_content view-article itemid-287 j36 mm-hover'> <head> ...
System Joomla plugin NOT changed language code (lang="en-gb") in main html, but change correct twice (lang="en-fr") in addition html for IE browsers.
And correct changed (lang="en-fr") in main html with default template without t3 http://2016new1-test.krok.edu.ua/en/test-with-default-template.html
<!DOCTYPE html> <html prefix="og: http://ogp.me/ns#" lang="en-fr" dir="ltr"> <head> ...
Now situation as before. Not use system joomla plugin as way for fix problem – it is a bad decision! Can you take me any recommend for switch on this function with t3 template?
WBR Igor
truemaker Friendtruemaker
- Join date:
- April 2013
- Posts:
- 50
- Downloads:
- 29
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
October 6, 2016 at 9:57 am #974072Hi, Ninja Lead
I solve this problem. Now plugin works OK. http://2016new1-test.krok.edu.ua/en/typography-t3.html
<!DOCTYPE html> <!--[if IE 8]> <html prefix="og: http://ogp.me/ns#" lang="en-fr" dir="ltr" class="ie8 lt-ie9 lt-ie10 com_content view-article itemid-287 j36 mm-hover"> <![endif]--> <!--[if IE 9]> <html prefix="og: http://ogp.me/ns#" lang="en-fr" dir="ltr" class="ie9 lt-ie10 com_content view-article itemid-287 j36 mm-hover"> <![endif]--> <html prefix="og: http://ogp.me/ns#" lang="en-fr" dir="ltr" class='com_content view-article itemid-287 j36 mm-hover'>
This is problem in your php of template.
For example i used two-sidebar layout. templatesja_university_t3tplstwo-sidebar.php
Your html tag must be in ONE LINE only, but your html in 2 lines. System plugin may be can not find mask as multyline.
I changed
from
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" class='<jdoc:include type="pageclass" ></jdoc:include>'>
to
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" class='<jdoc:include type="pageclass" ></jdoc:include>'>
This is fix that problem.
You must change this bug in ALL php for example in /tpls/
- default.php
- home.php
- left-sidebar.php
- no-sidebar.php
- right-sidebar.php
- two-sidebar.php
P.S. May be you have same problem with other templates.
Can you fix in in new release as soon as possible?
WBR Igor
AuthorPostsViewing 12 posts - 1 through 12 (of 12 total)This topic contains 11 replies, has 3 voices, and was last updated by truemaker 8 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum