2011-03-21, 04:24:33
Angryboy Wrote:This thing is just damned beautiful, mvlcek. Functional, easy to use and thoroughly expansive. Makes me all the more proud to use Get Simple.
Thank you.
Angryboy Wrote: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've thought about that but thought that GetSimple users probably don't have more than 2 or 3 languages on their site.
Angryboy Wrote: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.
There is a - probably undocumented - feature: a global variable $language, e.g.:
Code:
<body id="<?php get_page_slug(); ?>" class="lang_<?php echo $language; ?>">
Which outputs something like:
Code:
<body id="index" class="lang_de">
Styling can than be done like this (example: large headers for german):
Code:
.lang_de h1 { font-size: 200%; }