Support for multilanguage sites, Internationalization (I18N) - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Support for multilanguage sites, Internationalization (I18N) (/showthread.php?tid=1221) |
Support for multilanguage sites, Internationalization (I18N) - ldac - 2011-03-27 How can I use it with the default GS 3.0 theme (Innovation)? I can't find the get_component and get_navigation functions. Support for multilanguage sites, Internationalization (I18N) - mvlcek - 2011-03-27 ldac Wrote:How can I use it with the default GS 3.0 theme (Innovation)? I can't find the get_component and get_navigation functions. The Innovation theme is split into multiple files: there is a get_component call in sidebar.php and a get_navigation call in header.php. Support for multilanguage sites, Internationalization (I18N) - ldac - 2011-03-27 mvlcek Wrote:ldac Wrote:How can I use it with the default GS 3.0 theme (Innovation)? I can't find the get_component and get_navigation functions. Thanks, I got a problem with the footer but I'll try to fix it. Support for multilanguage sites, Internationalization (I18N) - yojoe - 2011-03-30 Mvlcek: does your menu plugin allow to display only slugs of a certain parent ? Supposing yes, how should I call it ? I doubt this is going to work: <?php get_i18n_navigation(return_page_slug("parent-url-name")); ?> Support for multilanguage sites, Internationalization (I18N) - mvlcek - 2011-03-30 yojoe Wrote:Mvlcek: does your menu plugin allow to display only slugs of a certain parent ? If your parent slug is "parent-url-name" and it is on the topmost level (hierarchy level 0), you should be able to display all children (hierarchy level 1) like this: Code: <?php get_i18n_navigation("parent-url-name", 1, 1); ?> Or replace the third parameter with null to see the whole subtree. Support for multilanguage sites, Internationalization (I18N) - yojoe - 2011-03-30 Thanks, it works splendidly ! May I suggest to extend a bit usage instructions on your website, with more examples on this matter ? This one would definitely come in handy for some users, who will seek for solution how to create 2 independent menus. Support for multilanguage sites, Internationalization (I18N) - simple123 - 2011-04-02 Hi Sir what about SEO URLS ? you use : page?lang=de but this is not google friendly other CMS use /site/en/ /site/es/ .... GS uses normally permalinks can you change this? please declare it on your website. thx Support for multilanguage sites, Internationalization (I18N) - simple123 - 2011-04-02 generally i will say, that this function should give a modern CMS by default ! as we see that now themes are sold , it must be a default plugin not a step by step editing..... 5 minutes setup and how long later`? Support for multilanguage sites, Internationalization (I18N) - mvlcek - 2011-04-02 simple123 Wrote:what about SEO URLS ? Google works quite well with parameters. And if you didn't notice it, normally you don't use parameters but go to a page and it will be served in your preferred language. You only use parameters to see a page in another than your preferred language. Support for multilanguage sites, Internationalization (I18N) - yurifanboy - 2011-04-02 simple123 Wrote:Hi SirI don't think that structure is practical given GS only supports two levels in its url structure www.yoursite.com/folder/subfolder/ Support for multilanguage sites, Internationalization (I18N) - mvlcek - 2011-04-03 I18N Version 1.2:
Usage:
If you created a page Google with the custom field link set to http://www.google.com, not only the menu entry will link to Google, but also the dummy page itself, e.g. http://mysite/google will redirect you to Google. Support for multilanguage sites, Internationalization (I18N) - Oleg06 - 2011-04-03 wow, cool http://neowebtime.ru/1/ Support for multilanguage sites, Internationalization (I18N) - mikeh - 2011-04-03 mvlcek Wrote:I18N Version 1.2: Awesome, you beat me too it. I created something like this a while ago but never converted it into a plugin. I will check it out. Support for multilanguage sites, Internationalization (I18N) - polyfragmented - 2011-04-03 mvlcek Wrote:Awesome indeed. Would you consider supporting internal redirects via a dropdown of available pages? That way users wouldn't have to enter URLs/slugs, but could simply choose from a list. I've had a few cases where customers wanted to link to a certain page from various locations of the menu, e.g. a team page. Keep up the good work! Support for multilanguage sites, Internationalization (I18N) - sal - 2011-04-05 Angryboy Wrote:This thing is just damned beautiful, mvlcek. Ditto. Support for multilanguage sites, Internationalization (I18N) - olegnaumov - 2011-04-11 Hey, thanks for the plugin! I have a question. Is it possible to display Breadcrumbs without the last element? I want to combine Breadcrumbs with Page title, so it looks something like this: Quote:home » parent » Page title Instead of this: Quote:home » parent » page title Support for multilanguage sites, Internationalization (I18N) - Angryboy - 2011-04-11 How about if you styled the last breadcrumb to look like your headers using CSS? Code: .breadcrumb:last-child { /*STYLE OF H2 FOR EXAMPLE*/ } You would need to ensure that the 'link' (or a (anchor) related stylings are removed from it. Just a suggestion - others may have more elegant solutions. Support for multilanguage sites, Internationalization (I18N) - olegnaumov - 2011-04-11 Thanks, Angryboy. It actually helped! Support for multilanguage sites, Internationalization (I18N) - Angryboy - 2011-04-11 Glad to be of service. Support for multilanguage sites, Internationalization (I18N) - Joshas - 2011-04-14 How about adding a configuration page to manage languages from administration backend, like in Joomfish (Joomla translation component) http://img23.imageshack.us/img23/8430/joomfish.png ? Name, short code, active, default and order columns would be necessary. That way we could have a language switching component in frontend which could list all active languages and their names. Also adding new translations could be simplified - no more manual creation of pages with _lang-code suffix. Another important thing would be display of menu items only if they have translations in that language. Support for multilanguage sites, Internationalization (I18N) - mvlcek - 2011-04-14 Joshas Wrote:How about adding a configuration page to manage languages from administration backend, like in Joomfish (Joomla translation component) http://img23.imageshack.us/img23/8430/joomfish.png ? Name, short code, active, default and order columns would be necessary. That way we could have a language switching component in frontend which could list all active languages and their names. Also adding new translations could be simplified - no more manual creation of pages with _lang-code suffix. You only need to add the language code suffix for the first page in this language, afterwards you can use the + icons in the language's column in the I18N pages view. A configuration page would make the plugin much more complex:
Joshas Wrote:Another important thing would be display of menu items only if they have translations in that language. It is deliberately done the way it is now, e.g. if your browser language settings are french, german and the default language of the site is english:
Support for multilanguage sites, Internationalization (I18N) - Joshas - 2011-04-14 In my case we need to display a bit differed information to "foreign" users, hence the shorter menu. Is there any way to hide untranslated menu items without hacking the plugin? And how to get a list of available languages? I'm currently using $i18n_languages variable, but array order changes after I select another language (selected language moves to front of array). I'm trying to implement language switcher widget in theme. Support for multilanguage sites, Internationalization (I18N) - Connie - 2011-04-20 I just tested how to use this great plugin to create a sitemap for your content and it works great. The steps are described in this posting: http://get-simple.info/forum/post/12157/#p12157 Mvlcek, you could add this to your examples, so the list of purposes of this great plugin just grows ;=) Support for multilanguage sites, Internationalization (I18N) - mvlcek - 2011-04-21 I18N Version 1.3:
Connie Wrote:I just tested how to use this great plugin to create a sitemap for your content and it works great. It's even better with the new version, as you can include all pages in the site map, even if they do not show up in the menu. Joshas Wrote:Another important thing would be display of menu items only if they have translations in that language. This feature is now available, too. See above. Support for multilanguage sites, Internationalization (I18N) - Joshas - 2011-04-21 Thanks! |