Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Support for multilanguage sites, Internationalization (I18N)
#47
This thing is just damned beautiful, mvlcek. Functional, easy to use and thoroughly expansive. Makes me all the more proud to use Get Simple. Smile

Only thing I think might need addressing is when you have a large number of languages for your site (since the text overflows horizontally out of the admin template). I'm not too sure how this might be solved. Perhaps give the 'editpages' id a unique, fixed width (with CSS) on the I18n page and a scrollbar for when this width is exceeded? I don't know - you're the genius when it comes to intuitive solutions.

Thanks again for this wonderful plugin!

---- *edit* ----
I just realised what also may be a helpful addition (although not a necessary one) - what about a tag that correlates to the language active? It could be outputted on the page in plain text simply to show the active language, or be used in templates for language-specific styling. For example:

Code:
<body id="<?php get_page_slug(); ?>">

Which outputs:

Code:
<body id="index">

May instead be something like:

Code:
<body id="<?php get_page_slug(); ?> <?php get_lang_slug(); ?>" >

So on the 'DE' page it outputs:

Code:
<body id="index de">

This would mean that I can tailor visual elements specifically for certain languages:

Code:
#de #banner { banner stylings specific for deutsch }

The above would mean the German banner can have a different CSS (for instance, with an image that has translated text).

Arbitrary, but perhaps something to consider when you've run out of improvements to make Wink

---- *edit 2* ----
Discovered your CustomFields modified plugin and realised it performs just this feature. Works perfectly, and in more flexible fashion, as always. Smile
Reply


Messages In This Thread
rewrite language problem - by tomkop - 2013-03-27, 06:34:44
Enhancement suggestion - by hameau - 2013-05-12, 04:17:12
Enhancement request - by hameau - 2013-06-14, 20:02:07
RE: Enhancement request - by mvlcek - 2013-06-14, 22:04:12
RE: Enhancement request - by hameau - 2013-06-14, 23:01:36
Duplicate language cookies bug - by enzy - 2013-08-20, 07:03:26
RE: Duplicate language cookies bug - by ohayo - 2013-08-20, 18:12:25
Plugin is not shown - by tosho - 2013-09-15, 12:10:37
1000 pages limit in i18n_navigation - by titus - 2014-10-13, 21:58:36
Bug found - by lbarsov - 2014-10-17, 03:41:53
Menu with picture - by Dimi - 2015-04-28, 16:05:45
Rendering Menu in Component - by Alexander_ - 2016-05-04, 23:06:51
Meta desc for different languages - by Alexander_ - 2017-02-14, 20:29:32
Hierarchical Menus - by celextel - 2019-07-26, 16:41:47
Ri18n_navigation - by celextel - 2021-02-19, 16:07:48
Support for multilanguage sites, Internationalization (I18N) - by Angryboy - 2011-03-16, 03:16:55



Users browsing this thread: 7 Guest(s)