Introducing Quicktags (qT 2.1 and higher)

Having Problems? Need Help? Post here!

Re: Introducing Quicktags (qT 2.1 and higher)

Postby prescot » Mon Apr 04, 2011 7:54 pm

How can I require a different path for each language, like in this sample:

require_once (NET_INCLUDES_PATH . '/custom_functions.php');

I'd like to call custom_functions_en.php for English, custom_functions_es.php for Spanish and custom_functions_pt.php for Portuguese.

Tks.
prescot
 
Posts: 2
Joined: Mon Apr 04, 2011 7:46 pm

Re: Introducing Quicktags (qT 2.1 and higher)

Postby prescot » Wed Apr 06, 2011 8:45 pm

prescot wrote:How can I require a different path for each language, like in this sample:

require_once (NET_INCLUDES_PATH . '/custom_functions.php');

I'd like to call custom_functions_en.php for English, custom_functions_es.php for Spanish and custom_functions_pt.php for Portuguese.

Tks.


Never mind,
I just figured out. ;)
prescot
 
Posts: 2
Joined: Mon Apr 04, 2011 7:46 pm

Re: Introducing Quicktags (qT 2.1 and higher)

Postby uwezi » Tue May 24, 2011 9:12 pm

You write that quick tags do not need to be closed - but can they be closed? I.e. can you continue with a common contents for all languages after using quick tags?

Uwe.
uwezi
 
Posts: 3
Joined: Tue May 24, 2011 9:10 pm

Re: Introducing Quicktags (qT 2.1 and higher)

Postby Danny 2.0 » Mon Jun 06, 2011 7:06 pm

Hello and thank you for this great plugin! I'm working on a website that is English and French and have implemented qTranslate Version 2.5.21 and it's working great by saving my quite a great deal of work. My only question is the following, how do I make it that when I'm viewing the French version of the site, my sidebars and footer stay in English? Desperately need your help to make this the perfect site.
Thanking you in advance.
Dan
Danny 2.0
 
Posts: 1
Joined: Mon Jun 06, 2011 5:24 pm

Re: Introducing Quicktags (qT 2.1 and higher)

Postby spriditis » Fri Sep 09, 2011 10:56 am

uwezi wrote:You write that quick tags do not need to be closed - but can they be closed? I.e. can you continue with a common contents for all languages after using quick tags?


Same question - how to close and continue normal text?
This works with full tags:
Code: Select all
_e("all-lang1 <!--:en-->en text<!--:--><!--:es-->es text<!--:--> all-lang2");

But with quicktags - only possible at beggining?
Code: Select all
_e("all-lang1 [:en]en text[:es]es text");


Just to be clear - any combination of [ ] symbols, that aren't in form of [:xx] will break out of "translate mode", but it will still display those symbols - and this only works for the last language..

Really feels like there is need to have some [:all] or [:close] quicktags that stops processing and display futher text for all..

Thanks. ;)
spriditis
 
Posts: 1
Joined: Fri Sep 09, 2011 10:39 am

Re: Introducing Quicktags (qT 2.1 and higher)

Postby navya » Wed Oct 05, 2011 1:03 pm

Great informative stuff..
ALl of you have shared a wonderful information with all of us..
navya
 
Posts: 2
Joined: Wed Oct 05, 2011 1:01 pm

Re: Introducing Quicktags (qT 2.1 and higher)

Postby arson » Tue Nov 15, 2011 11:23 am

Hi I Need help. How I can Translate this (ubillboard slider plugin)

Code: Select all
$out .= '<br /><a href="'. apply_filters('uds-billboard-link', stripslashes($b['link']), $bb) .'" class="read-more">Go for more »</a>';


Make "Go for more »" available in four Languages?

Thx!
arson
 
Posts: 3
Joined: Tue Nov 15, 2011 11:20 am

Re: Introducing Quicktags (qT 2.1 and higher)

Postby GhostMaster » Tue Nov 22, 2011 3:45 am

arson wrote:Hi I Need help. How I can Translate this (ubillboard slider plugin)

Code: Select all
$out .= '<br /><a href="'. apply_filters('uds-billboard-link', stripslashes($b['link']), $bb) .'" class="read-more">Go for more »</a>';


Make "Go for more »" available in four Languages?

Thx!


Like this:
Code: Select all
$out .= '<br /><a href="'. apply_filters('uds-billboard-link', stripslashes($b['link']), $bb) .'" class="read-more"><!--:en-->read more<!--:--><!--:PT-->ler mais<!--:--></a>';
GhostMaster
 
Posts: 29
Joined: Thu Jun 23, 2011 8:07 pm

Re: Introducing Quicktags (qT 2.1 and higher)

Postby GhostMaster » Tue Nov 22, 2011 3:46 am

Can i use quicktags under the all in one seo pack post meta tags? Or the all in one seo need to be custom edited to work with this?
GhostMaster
 
Posts: 29
Joined: Thu Jun 23, 2011 8:07 pm

Re: Introducing Quicktags (qT 2.1 and higher)

Postby ingridheiberg » Wed Dec 07, 2011 9:43 pm

Hello

I dont understand where to put the guicktags. I m trying to translate a content slider and a template for the home page. Could someone help me with that? My homepage is www.iheiberg.no
Under "houses for rent " i have a content slider that i want to translate. And the home page has tree pictures with some text that i wanted to translate. I tried to paste the quiktag into the php file, but probably not in the right place, because nothing happened.

thanks!

-ingrid
ingridheiberg
 
Posts: 3
Joined: Sun Dec 04, 2011 2:46 pm

PreviousNext

Return to qTranslate Support Forum

Who is online

Users browsing this forum: Google [Bot], Google Adsense [Bot], Nikola Nikolov and 5 guests