Hi
I would like to suggest a new feature for the translations.
Some translations (i.e. Arabic, Urdu) are written from Right to Left. I think it would be good to be able to specify the direction in the translation index file and then save it to the database. The default can be "ltr" that way existing translation dont need to change anything.
Then, using the theme, you can pick up the direction and charset and use it in the header.php
<?php
$dir = Locale::newInstance()->getDirection($_SESSION['locale']);
$charset = Locale::newInstance()->getCharset($_SESSION['locale']);
?>
<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $dir; ?>">
<head>
<meta http-equiv="Content-type" content="text/html; charset=<?php echo $charset; ?>" />
<title><?php echo osc_pageInfo('pageTitle'); ?></title>
<link href="<?php echo osc_themeResource('style.css'); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo osc_themeResource('style-'.$dir.'.css'); ?>" rel="stylesheet" type="text/css" />
The theme now has set the correct charset (although UTF-8 will be good always) and direction.
Then you can also use an additional style sheet to make the page look differently as well (i.e. floats should be switched from left to right as well).
Just a thought
Regards,
e2.