Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Support for multilanguage sites, Internationalization (I18N)
Since the other thread got no attention so far, would anybody here have any idea how to fix this problem:
http://get-simple.info/forums/showthread.php?tid=6022
It's basically about the sitemap not being created correctly for sub-language pages...

Cheers and thanks for any help!

Tom
Reply
Hi
Thanks for the plugin,
I have an important question, I checked the sitemap.xml file which has been generated by the plugin however it is outdated and I need to update it asap, would you please help me and show how I can have it updated,

Thanks,
Reply
Try updating any page, sitemap.xml should be re-generated.
If not, check if you have GSNOSITEMAP set to true in your gsconfig.php
If not, enable debug mode, update some page and see if you get any errors, and check data/other/logs/errorlog.txt
Reply
Hi there,

is there a way to vary the meta description depending on the selected language?

Alex
Reply
@mvlcek, got this PHP notice with GSDEBUG = true on Apache 2.4, PHP 5.6:

Quote:Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in ...\plugins\i18n_navigation\frontend.class.php on line 349
Reply
My ISP upgraded me to php 7.0 and now I get this warning:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; I18nNavigationItem has a deprecated constructor in /homepages/26/d230266985/htdocs/EDS-FL/plugins/i18n_navigation/frontend.class.php on line 349

I upgraded the plugins (i18n_base and i18n_navigation) to the latest as of 3/1/2017 (v3.3.1) and I still have this message (it got rid of a second message I had, the original plugin was at least one year old).

Any suggestion as to how to fix this would be appreciated!

Thanks in advance

PS: after posting this question, I see the last post was a reference to the same message, with no solution offered Sad
Reply
just declare an empty __construct function inside the I18nNavigationItem class, it should enough for the moment.
Code:
public function __construct() {}
Reply
Hello,

i've been searching for a while now but didn't find a setting to show the creation date and publish date of each page in pagelist.

If there's no setting, could someone please tell me, how to add it, i.e. additional to the information shown when i press toggle status?
I'd like to see those dates already in the pagelist. Right now it's only visible when editing the page.

Carlos told me (http://get-simple.info/forums/showthread.php?tid=9908), that I18N base replaces the original pagelist, which showed the dates.
Could somebody please tell me, how i can add them again, using I18N and Special pages?

Thank you very much in advance.
Kind regards.
Shasaar
Reply
You can already see the publish date in the list view. Not sure but, the creation date is not stored by default, you will have to save it manually with special pages or something else. Showing is not a big problem, you could use a hook to override pages list, "pages-main" for example.
Reply
Hello Bigin,

thank you, it's right, the creation date is not necessary, but the publish date isn't shown when you use the I18N plugin.
Funnywise, the date is written in the "title" component of the <a>-tag but not shown in the list.

I did the following changes in the template files now, in case somebody wants to see the publish date in list view also:

plugins/i18n_base/pages.php

- line 148: change colspan to 4
- line 173: add <td style="text-align:right;"><?php echo shtDate($page['date']); ?></td>
- fill the missing <td> in the following lines (after else ...) with <td></td>, usually before the <td "secondary link">

Thanks.
Shasaar
Reply
Hi Shasaar,
if the date already there, an other option would be to use a "CSS tooltips" in pure CSS, to display the date in tooltip, instead of changing the plugin file. Here's an example: http://jsfiddle.net/tDQWN/
Reply
Hello Bigin,

thank you for your reply, that's a pretty good idea too and I already saved your code and may use it for something else.

This time, I want the publish date to be visible all the time, cause I've got a bunch of articles and the customer needs to see, which one is the oldest or the newest, so that he can decide, which one to update.

Cheers.
Shasaar
Reply




Users browsing this thread: 1 Guest(s)
Free HDTV Channels Residential Solar Panels