2011-08-17, 07:33:52
Thx a lot man ) I will try it )
Support for multilanguage sites, Internationalization (I18N)
|
2011-08-17, 07:33:52
Thx a lot man ) I will try it )
2011-08-25, 00:13:56
HI,i've got some problems with i18n navigation.i want to show in my footer all different childs menu.example : parent = societe | childs = presentation , fondateurs .in my footer i just want to show childs of the
2011-08-25, 01:09:43
kirua46 Wrote:HI,i've got some problems with i18n navigation.i want to show in my footer all different childs menu.example : parent = societe | childs = presentation , fondateurs .in my footer i just want to show childs of the Code: <ul><?php get_i18n_navigation(return_page_slug(),1,1); ?></ul>
2011-08-25, 01:16:29
hi sorry i don't understand what you are asking to me (i'm french) so you want i show you my menu tree ?
2011-08-25, 02:17:14
kirua46 Wrote:hi sorry i don't understand what you are asking to me (i'm french) so you want i show you my menu tree ? No, put the above code into your template and it will show the first level of the menu, the children of the current top level page, like you wanted it. At least that's how I interpreted your question, which just ends in the middle of a sentence.
2011-08-25, 02:24:38
thank you
end of the sentence : with i want to show only childrens of the parent page ("service") (show current menu tree from level 1 to level 1 - level 0 = top) <- how can i put that in the code ? Code: <?php get_i18n_navigation(return_page_slug(show_current_menu_tree),1,1); ?> loic.
2011-08-27, 22:58:02
Hello,
I'm trying to display sub-pages of current parent including specified parent page itself. The code I use: Code: <?php get_i18n_navigation('malta-holidays',2,2); ?> This code displays sub-pages of a page called malta holidays but I need to have the following menu: Code: - malta holidays My pages structure is: Code: Index as you might see I cannot use Code: <?php get_i18n_navigation('malta-holidays',1,2); ?> because otherwise it will display the required pages plus other pages which I don't need. Is there any parameter I can use to display the page - malta holidays (1) and its subpages (2) but without other (1) pages? Thanks.
2011-09-03, 23:58:56
I18N version 1.8.1:
2011-09-04, 21:07:59
Hi! Need some help, please.
Whatever reason, this plagin doesn't work for me. It just can't display any subpages from parent in my case, ie <?php get_i18n_navigation('page-slug',1,2); ?>. No code is working. I dunno why.
2011-09-04, 22:12:14
3.1b 533 -> i18n_base.php -> clicking on pages leads to:
Not Found The requested URL /admin/load.php was not found on this server. disabling i18n_base.php plugin gives me access to page administration.
Addons: blue business theme, Online Visitors, Notepad
2011-09-04, 22:35:02
yojoe Wrote:3.1b 533 -> i18n_base.php -> clicking on pages leads to: I suppose you have either renamed the admin folder or installed GetSimple into a subfolder? I18N version 1.8.2:
As far as I know a redirect URL must be absolute (including host), however, relative URLs seem to work, as GetSimple uses them all the time ;-)
2011-09-04, 23:53:56
hmm...tbh both reasons lead to this error :]
But it makes me a bit confused as I changed admin dir after installing i18n and adding a page. It may be again a prob with developing on windows platform, and after moving to production server everything will work as supposed (after changing path to admin dir in plugin files of course)
Addons: blue business theme, Online Visitors, Notepad
2011-09-05, 02:16:49
yojoe Wrote:hmm...tbh both reasons lead to this error :] Does version 1.8.2 fix the problem?
2011-09-10, 02:50:17
I18N version 2.0:
2011-09-15, 01:27:59
I18N version 2.1
2011-09-18, 00:40:52
I18N version 2.2:
2011-09-21, 02:59:21
thanks for autocomplete tags, it is easier for my work
I18N version 2.3:
Define a separator in gsconfig.php (it should be a unique character/string, which does not exist in slugs): Code: define('I18N_SEPARATOR',':'); Adjust the RewriteRules in .htaccess, e.g. my rules supporting language and page numbers in the URL are: Code: ...
2011-09-24, 09:14:04
(This post was last modified: 2011-09-24, 10:31:36 by Caufield170.)
Hi,
First of all, thank you for the excellent plugin. I do have a slight problem and can't seem to solve it, hopefully you can help me get around. I am using the following in my header to switch the language of the page Code: <a id="lang-de" href="<?php echo htmlspecialchars(return_i18n_setlang_url('de')); ?>">Deutsch</a> I am also using language in the url (%language%/%parent%/%slug%) and rules required for this to work are placed in the .htaccess file. Two languages are defined and everything works correctly (switching between the two versions of the page). The problem I have is with the index page. I have an index page (slug is greyed out, can't be changed) in my default language (de) and have an english translation of that page with the slug index_en. What happens on the index page is that it always returns to the index page in the default language (de) regardless of the language button clicked. Is there a way to make this work on the index page as well? And one more question - is it possible to disable auto-language detection and always use the predefined language when first loading any of the pages (before $_SESSION is set)? Why I ask this - browsers are usually set to English language by default and many people don't bother to go to their preferred browser's settings to add another language.
2011-09-24, 17:59:08
dizarter Wrote:The problem I have is with the index page. I have uploaded version 2.4 - the problem with the index page should be solved and I added an option for the user language (see next post).
I18N version 2.4:
Code: define('I18N_IGNORE_USER_LANGUAGE',true);
I tried to install the code, but the result is all broken locally
Code: RewriteCond %{REQUEST_FILENAME} -f [OR]
I hate to repost, however, I think this is also relevant to the I18N plugin.
Code: RewriteRule ^blog/tag/([^/.]+)/?$ index.php?id=blog&tag=$1 [L] I found a conflict between using language codes in the URL with the I18N plugin and using clean URLS with the news manager. The URL for the news manager includes the %language% instead of the particular en/es/de ect. I guess this would involve modifying the news manager .htaccess rules too? I'm afraid to screw up my rewrite rules.
Todo arde si le aplicas la chispa adecuada.
2011-09-24, 19:24:45
yurifanboy Wrote:I found a conflict between using language codes in the URL with the I18N plugin and using clean URLS with the news manager. The URL for the news manager includes the %language% instead of the particular en/es/de ect. I guess this would involve modifying the news manager .htaccess rules too? I'm afraid to screw up my rewrite rules. I don't know when you get the %language% in the URL. I just tried (the newest) news manager, fancy URLs switched on, with (the newest) I18N plugin and the URLs generated always contain en or de. To forward these URLs to news manager, it is sufficient to remove the ^ in front of the news manager rules. But you can also change the rules to Code: RewriteRule ^(es|en)/(blog)/(tag|post|page|archive)/([^/.]+)/?$ index.php?id=$2&$3=$4 [L]
2011-09-24, 19:32:31
Oleg06 Wrote:I tried to install the code, but the result is all broken locally What is the problem? And just for clarification: the above code only shows the rules part of the .htaccess. Don't throw away the part before like Code: ... |
« Next Oldest | Next Newest »
|