User andpassword and strange characters

Popular automatic website translation tool

User andpassword and strange characters

Postby [email protected] » Fri Nov 18, 2011 4:02 pm

Just installed the Pro version on zetalabshop.com and all seem work well forthe moment, but I have same strange characters (see for example all the           at http://www.zetalabshop.com/en/products/ ... ifuges.php)

So I tried to edit the page with the ?language_edit=1 but It does not accept the username and password (the one of config.php file) when I save the change to end/modify the translate.

Any idea?

Regards
[email protected]
 
Posts: 21
Joined: Mon Feb 28, 2011 12:57 pm

Re: User andpassword and strange characters

Postby reaxion » Fri Nov 18, 2011 8:13 pm

I am having this same problem. And looking at other threads I'd just like to add my server meets all requirements up to this point...

Thanks!
reaxion
 
Posts: 10
Joined: Mon Nov 14, 2011 10:24 pm

Re: User andpassword and strange characters

Postby reaxion » Fri Nov 18, 2011 8:33 pm

As it turned out, my server runs php as cgi, so I was instructed to add this to my .htaccess file


<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>


I'm not sure if that is server specific to me, but you can try.

but I'm getting a new error now as I edit my page (I'm editing text for an ecommerce site set up with Shopp)

<br />
<b>Warning</b>: Attempt to modify property of non-object in <b>/home/rcakitshop/www/www/gtranslate/edit_translation.php</b> on line <b>20</b><br />
<br />
<b>Warning</b>: Attempt to modify property of non-object in <b>/home/rcakitshop/www/www/gtranslate/edit_translation.php</b> on line <b>21</b><br />
success
reaxion
 
Posts: 10
Joined: Mon Nov 14, 2011 10:24 pm


Re: User andpassword and strange characters

Postby [email protected] » Sat Nov 19, 2011 2:26 pm

I solved the login and password problem adding:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>

in .htaccess file

Many thanks.

I also find the solution for strange characters.

The problem is in my html.
I have to add:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

in all my page and compress the file deleting the white spaces.

I have already some page translated now in the cache folder; my question is now:

How do I make the new translation of the pages after changing the html code as described?
Can I delete the chace content and re-start from zero or is there another way?

Regards
[email protected]
 
Posts: 21
Joined: Mon Feb 28, 2011 12:57 pm

Re: User andpassword and strange characters

Postby Jarrell22 » Mon Nov 21, 2011 3:24 pm

In our Moodle installation, we've noticed that if a username contains accented chararacters or cedillas (ç), then when adding the user to moodle, a second user is created with a negative ID, this user is registered in both joomdle and moodle but not in joomla, the original user only is registered in joomla. Also the user details (from the new user) in moodle are empty.

ID Username
901 Ailó
-502 ailã³

Any toughts on how to correct this.
We already have modified our registration form, so that it doesn't accept those chars, but we already have a large number of users in this situation.
Jarrell22
 
Posts: 3
Joined: Fri Nov 18, 2011 2:41 pm

Re: User andpassword and strange characters

Postby Edvard » Mon Nov 21, 2011 4:07 pm

[email protected] wrote:I have to add:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


You will need to use Unicode for all your pages:

Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


After changing that there is no need to re-translate the contents. To be sure now you can select UTF-8 character encoding from your browser and see that in that case you don't see weird characters.

Jarrell22 wrote:In our Moodle installation, we've noticed that if a username contains accented chararacters or cedillas (ç), then when adding the user to moodle, a second user is created with a negative ID, this user is registered in both joomdle and moodle but not in joomla, the original user only is registered in joomla. Also the user details (from the new user) in moodle are empty.


I'm not sure that it is related to GTranslate. Did that happen after GTranslate installation?
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4179
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux