hardbrasil Posted August 12, 2009 Share Posted August 12, 2009 Hi Folks! all non-English community have to find that we have one problem to translate the {$service_billing_cycle} string on "Hosting Account Welcome Email" so i have tried a lot of script, but i do not make to work until now, may you know how to help us. this variable {$service_billing_cycle} can assume any one of this values: Monthly, Quarterly, semi-Annually, Annually, Bi-Annually so one friend build this: (doesnt work) {php} switch ($service_billing_cycle) { case "Monthly": echo "Mensal"; break; case "Quarterlly": echo "Quadrimestral"; break; case "Semi-Annually": echo "Meio Ano"; break; case "Annually": echo "Anual"; break; case "Bi-Annually": echo "Dois Anos"; break; } {/php} 0 Quote Link to comment Share on other sites More sharing options...
hardbrasil Posted August 12, 2009 Author Share Posted August 12, 2009 Solution: {if $service_billing_cycle eq "Monthly"}Mensal {/if} {if $service_billing_cycle eq "Quarterly"}Trimestral {/if} {if $service_billing_cycle eq "Semi-Annually"}Semestral{/if} {if $service_billing_cycle eq "Annually"}Anual{/if} {if $service_billing_cycle eq "Bi-Annually"}Bi-Anual{/if} 0 Quote Link to comment Share on other sites More sharing options...
dragonflyhost Posted November 2, 2009 Share Posted November 2, 2009 Where i change/put this? Which file? I'm with the same problem; i'm from Brazil too, and i need change these months! rs 0 Quote Link to comment Share on other sites More sharing options...
e_labranche Posted February 10, 2010 Share Posted February 10, 2010 (edited) Where i change/put this? Which file? I'm with the same problem; i'm from Brazil too, and i need change these months! rs I have the same issues. Can someone tell us where I can put this info so I can have the code change to french for french clients? thanks Edited February 10, 2010 by e_labranche 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.