Avoid translation of user name or author

Popular automatic website translation tool

Avoid translation of user name or author

Postby SteckInsights » Thu Oct 18, 2012 11:13 pm

My theme uses the author name as a header. How can I keep my username from being translated. For example, GTranslate is taking "First Last" and making it "Last First" (of course, First and Last are actual names). Any thoughts?

Adding <span class="notranslate"> does not do the trick with author names. Is there a function for this or a way of specifying that meta info doesn't get translated?

Thanks in advance!

PS- using GTranslate Pro with WordPress.
SteckInsights
 
Posts: 11
Joined: Thu Jul 12, 2012 12:46 am

Re: Avoid translation of user name or author

Postby Yana » Mon Oct 22, 2012 8:47 pm

Hi,
You should use class="notranslate" for the parts you don't wont to be translated.
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: Avoid translation of user name or author

Postby SteckInsights » Tue Oct 23, 2012 12:18 am

SteckInsights wrote:Adding <span class="notranslate"> does not do the trick with author names.


Yana, the notranslate solution does not work for Meta descriptions (author names after the post title). What should I use instead?
SteckInsights
 
Posts: 11
Joined: Thu Jul 12, 2012 12:46 am

Re: Avoid translation of user name or author

Postby Yana » Tue Oct 23, 2012 5:57 pm

Hi,
Unfortunately class="notranslate" doesn't work with for Meta descriptions .
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: Avoid translation of user name or author

Postby SteckInsights » Tue Oct 30, 2012 12:20 am

So, do you have a solution for this? How can I prevent our meta descriptions from being translated?
SteckInsights
 
Posts: 11
Joined: Thu Jul 12, 2012 12:46 am

Re: Avoid translation of user name or author

Postby Yana » Wed Oct 31, 2012 7:08 pm

Hi,
In order to exclude something from the translation you should use class="notranslate" . There is no other solution.
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: Avoid translation of user name or author

Postby SteckInsights » Wed Oct 31, 2012 7:51 pm

Yana, I just want to make sure you are understanding the logic here.

You're telling me to use
Code: Select all
class="notranslate"

You're telling me that I cannot use
Code: Select all
class="notranslate"
on meta info

So you're telling me that GTranslate and GTranslate Pro have no way of modifying the meta info?

That's what I'm hearing, but I just want to make sure we're clear on this and that others know there is no way to edit the meta information using GTranslate.

Thanks for helping with this issue.
SteckInsights
 
Posts: 11
Joined: Thu Jul 12, 2012 12:46 am

Re: Avoid translation of user name or author

Postby Yana » Wed Oct 31, 2012 8:13 pm

Hi,
Yes, in order to exclude something from the translation you should use class="notranslate" but it doesn't work for Meta descriptions .
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux