Error page in non-English languages

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Dec 12, 2013 11:04 am
Reply with quote
Report this post
Hi,
I'm using CloudHost on a multilingual site (Joomla 3.2) and I have issues with text replacement. Site is both in Japanese and French, so I overrided languages constants in these languages. Problem is that the 404 page displays strange characters. Example in French : http://s215847957.onlinehome.fr/clair/index.php/fr/collectivites-locales-au-. Accentuated characters are replaced. Example in Japanese : http://s215847957.onlinehome.fr/clair/index.php/ja/about-. Everything is 文字化け as you say in Japanese.
Looking at the code shows
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
which means that
Code: Select all
xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"
isn't collected correctly. Strange thing is that the logo image is correct in each language. Do you have any idea of what happens and how I can retrieve the right languages on this page ?
User avatar
Fresh Boarder

GK User
Sat Dec 14, 2013 11:47 am
Reply with quote
Report this post
Hello,

First of all please make a small test - please rename the error.php file in the template to i.e. "___error.php" and then please check your error page - you should see the original one from Joomla system template. If it will have the same result as our one, then it means that it is a bug inside Joomla! not in our template and you will have to report it to Joomla bug tracker. In other case we will investigate this case for fixing the described problem.
User avatar
Administrator

GK User
Mon Dec 16, 2013 9:07 am
Reply with quote
Report this post
Checked. No problem with original Joomla error. You can have a look at the same link than below. Let me know if you want me to reactivate error.php.
User avatar
Fresh Boarder

GK User
Mon Dec 16, 2013 9:21 am
Reply with quote
Report this post
Ok, I'll report this problem to the developer who maintenance our templates, thank you for your feedback.
User avatar
Administrator

GK User
Tue Dec 17, 2013 10:26 am
Reply with quote
Report this post
Could you provide me details to your administrator area via PM ? Please remember to include link to this forum thread in message.
User avatar
Platinum Boarder

GK User
Tue Dec 17, 2013 3:23 pm
Reply with quote
Report this post
Thanks. PM done.
User avatar
Fresh Boarder

GK User
Thu Dec 19, 2013 3:56 pm
Reply with quote
Report this post
Hi there. Any news ?
User avatar
Fresh Boarder

GK User
Sun Dec 22, 2013 10:14 pm
Reply with quote
Report this post
If you don't get any response from me in 48 hours, please re-send details via PM. We have some problems with our forum last week and probably I don't get this details.
User avatar
Platinum Boarder

GK User
Mon Jan 27, 2014 12:46 pm
Reply with quote
Report this post
Hi all:


I have the same problem with the error page, my website is NOT multilingual, but the characters as the Spanish "ñ" or "á, é" are replaced by "Ã ±" for example.

Thank you all.
User avatar
Junior Boarder

GK User
Tue Jan 28, 2014 1:14 pm
Reply with quote
Report this post
Did you change the text in error page? I'm asking because this may be file encoding issue. Could you give me sample URL to error page?
User avatar
Platinum Boarder

GK User
Tue Jan 28, 2014 2:23 pm
Reply with quote
Report this post
Same problem here with News template fresh install, error page. The "Return to Home Page" part shows like ΑρχικΞ� ΣΡλίδα

Code: Select all
<div id="errorboxbody"> <a href="http://mysite.com/" title="ΞœΞ΅Ο„Ξ¬Ξ²Ξ±ΟƒΞ· στην ΑρχικΞ� ΣΡλίδα">ΑρχικΞ� ΣΡλίδα</a>

and

Code: Select all
</script>ΑυτΞ� Ξ· διΡύθυνση ηλΡκτρονικού ταχυδρομΡίου προστατΡύΡται Ξ±Ο€ΟŒ τους αυτοματισμούς αποστολέων ανΡπιθύμητων μηνυμάτων. ΧρΡιά΢Ρται Ξ½Ξ± ΡνΡργοποιΞ�σΡτΡ τη JavaScript Ξ³ΞΉΞ± Ξ½Ξ± μπορέσΡτΡ Ξ½Ξ± τη δΡίτΡ.
 <script type='text/javascript'>
User avatar
Senior Boarder

GK User
Tue Jan 28, 2014 3:19 pm
Reply with quote
Report this post
I fixed it, here is my solution:
Edit error.php file located on your template folder and after <head> put this line
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
User avatar
Senior Boarder

GK User
Wed Jan 29, 2014 10:41 am
Reply with quote
Report this post
Thanks, I'll add this change to next template update.
User avatar
Platinum Boarder


cron