Advertisement

dtz?

General questions regarding the use of languages and encoding issues in Joomla! 1.0.x. Multi-lingual site solutions can be discussed in the child board. Translation discussions are now separate and can be found in the Working Groups Area.

Moderator: General Support Moderators

Locked
geril
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 13, 2009 9:44 am

dtz?

Post by geril » Sun Sep 13, 2009 9:46 am

hello, i have joomla on my website: http://www.speleomuran.sk/ and it is everywhere: ďťż i cant delete it :/ can you help me? i found: http://forum.joomla.org/viewtopic.php?p=391606 but it doesnt word or i dont know how to do it :D

Advertisement
User avatar
OOmNezar
Joomla! Ace
Joomla! Ace
Posts: 1869
Joined: Mon Sep 07, 2009 3:18 am

Re: dtz?

Post by OOmNezar » Sun Sep 13, 2009 10:09 am

Go to administrator, and than, on menus, klik main menu and than klik home
and than parameter system, and then change value on page title.
coffee & smoke just fine
OOm Nezar

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: dtz?

Post by infograf768 » Sun Sep 13, 2009 10:12 am

The database is wrongly collated and the encoding is not specified in the template.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

geril
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 13, 2009 9:44 am

Re: dtz?

Post by geril » Sun Sep 13, 2009 10:16 am

wakjaer wrote:Go to administrator, and than, on menus, klik main menu and than klik home
and than parameter system, and then change value on page title.
doesnt work :(

geril
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 13, 2009 9:44 am

Re: dtz?

Post by geril » Sun Sep 13, 2009 10:18 am

infograf768 wrote:The database is wrongly collated and the encoding is not specified in the template.
how can i change all this what did you write?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: dtz?

Post by infograf768 » Sun Sep 13, 2009 3:56 pm

Your databse and the template should reflect the ncoding of your language.

The index.php of your template should start with

Code: Select all

<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
for language/english.php it is

Code: Select all

/** templates/*.php */
DEFINE('_ISO','charset=iso-8859-1');
check for your language

Now that would work if the collation of your database is correct (same as the language ISO)
I am afraid it is not:

Open PhpMyadmin and check the collation of the db, the tables and the fields in the tables.

As your site is pretty new, you may be better off by starting a new site in Joomla 1.5 as our last version is fully UTF8 and would not have that kind of issue (if the db is correctly collated UTF8 BEFORE installing 1.5.x)
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

geril
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sun Sep 13, 2009 9:44 am

Re: dtz?

Post by geril » Sun Sep 13, 2009 6:46 pm

Code: Select all

<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Cache-Control" content="private; no-cache"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Language" content="sk"/>
<meta name="Author" content="Ideal Webs Studio: Geril"/>
<meta name="Robots" content="all,follow"/>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

<?php mosShowHead(); ?>


<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?>
<!--[if lte IE 6]>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/ie6.css\" type=\"text/css\"/>" ; ?>
<![endif]-->


<link rel="alternate" type="application/rss+xml" title="<?php echo $mosConfig_sitename?>" href="<?php echo $mosConfig_live_site;?>/index.php?option=com_rss&feed=RSS2.0&no_html=1" />
</head>

<body>
	<div id="wrapper">
		<div id="under">
			<div id="inside">
				<div id="top">


						<div id="header">
						<div class="h_img">
							<div id="logoo">
								<h1><?php echo $GLOBALS['mosConfig_sitename']?></h1>
							</div>
						</div>
					</div>
					<div class="content">

							<div id="leftcolumn">
								<?php mosLoadModules('left' , '-3'); ?>

							</div>

							<?php if (mosCountModules('right')){ ?>

							 <div id="maincolumn">
								<? } else { ?>
									<div id="maincolumn_full">
										<? } ?>
										<?php mosMainBody(); ?>
									</div>

								<?php if (mosCountModules('right')){ ?>
								<div id="rightcolumn">
									<?php mosLoadModules('right' , '-3'); ?>
								</div>
							<? } ?>
						<div class="clr"></div>
							</div>

					</div>

			</div>
		</div>

		<div id="footer">
			<div id="sgf">
				<p class="copyright"><? $sg = ''; include "podpis.php"; ?></p>
			</div>
		</div>


				</div>
			</div>


		</div>
	</div>

</body>
</html>
my design index.php
and screenshot of my phpadmin: Image

PietruS
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sun Jan 10, 2010 5:57 pm
Contact:

Re: dtz?

Post by PietruS » Sun Jan 10, 2010 6:02 pm

geril wrote:
wakjaer wrote:Go to administrator, and than, on menus, klik main menu and than klik home
and than parameter system, and then change value on page title.
doesnt work :(
Fortunately it worked for me. Thanks guys ;)

User avatar
OOmNezar
Joomla! Ace
Joomla! Ace
Posts: 1869
Joined: Mon Sep 07, 2009 3:18 am

Re: dtz?

Post by OOmNezar » Fri Jan 15, 2010 12:32 pm

please to mark this as SOLVED
coffee & smoke just fine
OOm Nezar

Advertisement

Locked

Return to “Language - 1.0.x”