tkalfaoglu Posted December 12, 2015 Share Posted December 12, 2015 (edited) Hi there. In the new order forms, there are some items that are bugging me. For example, $_LANG['shoppingCartProductPerMonth'] = "<span>:price</span>/:countmo"; this shows something like this: From 15.00 / 6 mo ...in English, but that is meaningless in my language, where I need to have it say: 15.00 TL/6 ay Likewise, the translated version of "From" needs to go to the END of the sentence, not at the beginning like here.. As the sentence structure is different for Turkish. Any ideas how to change the $_LANG['shoppingCartProductPerMonth'] ? Thanks! -turgut Edited December 12, 2015 by tkalfaoglu 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 12, 2015 Share Posted December 12, 2015 this sounds similar to the bug reported below... http://forum.whmcs.com/showthread.php?109402-Supreme-Comparison-orderform-not-able-to-translate-product-pricing-minprice-cycleText http://forums.whmcs.com/showthread.php?109355-Supreme-Comparison-orderform-how-to-translate-product-pricing-minprice-cycleText as with the above thread, the only solution in the short-term would be to use Smarty replace. the issue with moving "From" (which will be a separate language variable) from the start to the end, depending on the language, will probably require an {if} statement in the products.tpl template if your site uses multiple languages - if you're only using Turkish, then it should be a simpler edit. 0 Quote Link to comment Share on other sites More sharing options...
altomarketing Posted December 12, 2015 Share Posted December 12, 2015 We changed it in /lang/spanish.php to $_LANG['shoppingCartProductPerMonth'] = "<span>:precio</span>/:por mes"; In spanish and it works like charm. 0 Quote Link to comment Share on other sites More sharing options...
tkalfaoglu Posted December 22, 2015 Author Share Posted December 22, 2015 We changed it in /lang/spanish.php to $_LANG['shoppingCartProductPerMonth'] = "<span>:precio</span>/:por mes"; In spanish and it works like charm. Thanks for your feedback. Did you have to define the "precio" and "por" for this to work? 0 Quote Link to comment Share on other sites More sharing options...
tkalfaoglu Posted December 22, 2015 Author Share Posted December 22, 2015 never mind, I finally understood how it works Thanks to Brian! too.. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.