Tomistar
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] admin __ or _e not working in adminif echo [:en]english[:de]deutsch[:sl]slovenian[:] cant be treated by .po and .mo file. Code from php file: $tabs_header .= ‘
‘ . $tab[‘name’] . ‘
‘;if i add $tabs_header .= ‘
‘ . __($tab[‘name’]) . ‘
‘;or $tabs_header .= ‘
‘ . _e($tab[‘name’]) . ‘
‘;If i do the same procedure in front end always display correct. Also strange that on localhost display correct without adding __ or _e but when i put on server I have to add __ or _e in some cases.
Forum: Plugins
In reply to: [qTranslate X] two questionsyes, its commercial theme. okey, i will try, but they are not so helpful like you are. I will use the languages codes for now. Thank you.
Forum: Plugins
In reply to: [qTranslate X] two questionsI use autotrader from themefuse. No its not working by default. I dont want to save it in last entered language. I just said that save all three values of the last entered value if i use this code:
“admin”:{
“pages”:{“admin.php”:””},
“forms”:{
“admin”:{
“fields”:{
“autotrader_header_title_blog”:{}
}
}
},
“js-exec”:{“edit-tag-exec”:{“src”:”./admin/js/edit-tag-exec.min.js”}}
}Everthing else works great. Shows switching buttons and blue border and different values are in fields but after saving just one value is saved.
Should i change code or its something else wrong.Forum: Plugins
In reply to: [qTranslate X] two questionsOkey:). Slug is not so important. Why save header title blog in last entered language?
Code:
<input name=”qtranslate-fields[autotrader_header_title_blog][sl]” type=”hidden” class=”hidden” value=”sl”>
<input name=”qtranslate-fields[autotrader_header_title_blog][en]” type=”hidden” class=”hidden” value=”sl”>
<input name=”qtranslate-fields[autotrader_header_title_blog][de]” type=”hidden” class=”hidden” value=”sl”>
<input name=”qtranslate-fields[autotrader_header_title_blog][qtranslate-separator]” type=”hidden” class=”hidden” value=”[“>
<input class=” tfuse_option qtranxs-translatable” name=”autotrader_header_title_blog” id=”autotrader_header_title_blog” type=”text” value=”sl”>Create all three entries with last entered value.
Forum: Plugins
In reply to: [qTranslate X] two questionsI almost did it and understand how it works. In some cases everything works.
In another cases everything working just when save it,save just in one language. My code when save it in one language:“admin”:{
“pages”:{“admin.php”:””},
“forms”:{
“edittag”:{
“fields”:{
“autotrader_header_title_blog”:{}
}
}
},
“js-exec”:{“edit-tag-exec”:{“src”:”./admin/js/edit-tag-exec.min.js”}}
}
,working code:
“edit-tag”:{
“pages”:{“edit-tags.php”:”action=edit”},
“forms”:{
“edittag”:{
“fields”:{
“name”:{},
“description”:{},
“autotrader_header_title_cat”:{}, //add it and works
“autotrader_content_bottom”:{}, //add it and works
“slug”:{}, //add it and save it just in one language
“parent”:{ “encode”:”display” }
}
}
},
“js-exec”:{“edit-tag-exec”:{“src”:”./admin/js/edit-tag-exec.min.js”}}
}
,I cant figure out what its wrong.
Forum: Plugins
In reply to: [qTranslate X] two questionsi also tried but its the same. Do not show blue border and language switching buttons. Also not working.
Forum: Plugins
In reply to: [qTranslate X] two questionsHello.
I read what you sent me.
I put ids into costum fields.
My costum field id field: autotrader_header_title_blog autotrader_content_bottom_blog seek_property_name_singular seek_property_name_plural slugFor example:
<input class=” tfuse_option” name=”seek_property_name_singular” id=”seek_property_name_singular” type=”text” value=”Vozilo”>I use seek_property_name_singular.
But nothing change in admin. Not showing language switching buttons and blue border.
If i use this syntax [:nl]Dutch tex[:de]German text[:en]English text for seek_property_name_singular its working in front end.Should I do something else also?
Forum: Plugins
In reply to: [qTranslate X] two questionsThank you
Forum: Plugins
In reply to: [qTranslate X] two questionsThese fields are everywhere, in most cases, I have a blue border to a title and description, but I do not have in other fields such as (Shortcodes, keyword or slug, text links, …) For exmaple: I have also slider section in admin but no blue borders where i can add/edit sliders.
But the proposed syntax works. I have not yet inserted in all fields but there where I inserted it works.
Thank you. For now problem solved.
Forum: Plugins
In reply to: [qTranslate X] two questionsFirst question solved. You understand correct but i had to disable Detect Browser Language and it work now.
What about second question. Its possible?
Forum: Plugins
In reply to: [qTranslate X] Small part of website do not translateI just add tfuse_qtranslate(); like code below shows in template-search.php
Title have tfuse_qtranslate but excerpt do not have this function.
<?php echo esc_attr(tfuse_qtranslate($spost[‘post_title’])); ?>
<?php echo tfuse_qtranslate($spost[‘post_excerpt’]); ?>But in other php files which also echo title and excerpt dont have this tfuse_qtranslate function and still translate correct, dont know why :).
Forum: Plugins
In reply to: [qTranslate X] Small part of website do not translateIts working now. Thank you.
Forum: Plugins
In reply to: [qTranslate X] Small part of website do not translateYes i have experience
Forum: Plugins
In reply to: [qTranslate X] Small part of website do not translateYou are correct. It not workign with search results.
But just excerpt not working, title and other elements translate correct.
Can i fix it?Forum: Plugins
In reply to: [qTranslate X] Small part of website do not translateThis links http://localhost/avtofela/en/services-list/storitve-tipi-vozil/?s=~&tfseekfid=main_search or http://localhost/avtofela/sl/services-list/storitve-tipi-vozil/?s=~&tfseekfid=main_search still not translate excerpt, but translate everything else correct on page. Title translate ok, only text under title not translated (dispaly [:sl]sl[:en]en[:]). But link http://localhost/avtofela/sl/vehicle_type/terenci/ or http://localhost/avtofela/en/vehicle_type/terenci/ also translate ok almost the same site like upper links. Shows the same things on page.
sorry for my english, hope you understand.