Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Problems using sIFR with qTranslate.

Started 4 months, 3 weeks ago by Punk T-34
Hi, there is a problem with the plugins. I've installed qTranslate, which makes my site bilingual — everything is OK. Then I've installed sIFR plugin — as a result sIFR doesn't show text for secondary language. In short about what is happening inside: It is possible to choose a primary language (en) and a secondary (ru) for a blog. When user enters site the address bar looks like this "...
Site: WordPress Support  WordPress Support - site profile
Forum: How-To and Troubleshooting  How-To and Troubleshooting - forum profile
Total authors: 4 authors
Total thread posts: 8 posts
Thread activity: no new posts during last week
Domain info for: wordpress.org

Other posts in this thread:

lzsloan replied 4 months, 3 weeks ago
Just check this out, this might give you an idea of what to do. Haven't encountered this. 1) edit qtranslate_hooks.php and add this Code: Select all add_filter('get_bookmarks', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLang uage',0); 2) Use [:de] etc. quicktags to build your link name. Liza

Punk T-34 replied 4 months, 3 weeks ago
That didn't help. But! There is a little bit clarity in the problem. I've found that when the language switched on to the secondary, sIFR tries to search SWF-files with fonts in the folder "http://blog.com/ en/ wp-content/themes/template_name/fonts/". Obviously, there is no such folder ob the server, 'cause qTranslate generates string en/ dynamically. In general, everything that i need ...

Punk T-34 replied 4 months, 3 weeks ago
Really, does anybody know the solution?

karl19 replied 4 months, 1 week ago
Hi there, I would suggest using bloginfo to link to your files. You can reach various parts of the folder structure, such as root, template directory and so on. Using something like this in your header.php should work: <script src="<?php echo bloginfo('template_url'); ?>/js/your-sifr-file.js" type="text/javascript"></script> Give that a go and see how you get on.

karl19 replied 4 months, 1 week ago
The above would give you: <script src="http://www.your-site.com/wp-content/themes/yo ur-theme/js/your-sifr-file.js" type="text/javascript"></script>

hoolian replied 2 months ago
Hey thanks for the help karl! it worked perfectly cheers

hoolian replied 2 months ago
not so perfectly, it only worked in the index page of every language but not in my other pages :(

 

Top contributing authors

Name
Posts
Punk T-34
3
user's latest post:
Problems using sIFR with...
Published (2009-08-17 06:32:49)
Really, does anybody know the solution?
karl19
2
user's latest post:
Problems using sIFR with...
Published (2009-08-28 12:17:55)
The above would give you: &lt;script src=&quot;http://www.your-site.com/wp-content/themes/your-theme/js/your-sifr-file.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
hoolian
2
user's latest post:
Problems using sIFR with...
Published (2009-11-09 00:48:16)
not so perfectly, it only worked in the index page of every language but not in my other pages :(
lzsloan
1
user's latest post:
Problems using sIFR with...
Published (2009-08-16 09:39:36)
Just check this out, this might give you an idea of what to do. Haven't encountered this. 1) edit qtranslate_hooks.php and add this Code: Select all add_filter('get_bookmarks', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage',0); 2) Use [:de] etc. quicktags to build your link name. Liza

Related threads on "WordPress Support":

Related threads on other sites:

Thread profile page for "Problems using sIFR with qTranslate." on http://wordpress.org. This report page is a snippet summary view from a single thread "Problems using sIFR with qTranslate.", located on the Message Board at http://wordpress.org. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity