Jump to content

Tengri

Members
  • Content count

    80
  • Joined

  • Last visited

Community Reputation

10 Good

About Tengri

  • Rank
    Newbie

Recent Profile Visitors

918 profile views
  1. Tengri

    Marketplace translation

    This code is correct? <div class="payment-term"> <h4>Müddəti seçin</h4> <select name="billingcycle" class="form-control"> {foreach $product->pricing()->allAvailableCycles() as $pricing} <option value="{$pricing->cycle()}"{if $requestedCycle == $pricing->cycle()} selected{/if}> {if $pricing->isRecurring()} {if $pricing->isYearly()} {$pricing->cycleInYears()|replace:'Years':{lang key="store.upsell.years"}|replace:'Year':{lang key="store.upsell.years"}} - {$pricing->yearlyPrice()|replace:'/yr':{lang key="store.upsell.yearly"}} {else} {$pricing->cycleInMonths()|replace:'Month':{lang key="store.upsell.month"}} - {$pricing->monthlyPrice()|replace:'/mo':{lang key="store.upsell.monthly"}} {/if} {else} {$pricing->toFullString()} {/if} </option> {/foreach} </select> </div> I add this and nothing changed.
  2. Tengri

    Marketplace translation

    When I add this I get error: "Oops" $_LANG['store']['upsell']['month'] = "Ay"
  3. Tengri

    Marketplace translation

    I change it and add $_LANG['store']['upsell']['years'] = "İl" $_LANG['store']['upsell']['yearly'] = "İl" $_LANG['store']['upsell']['yearly'] = "Ay" string and get this: https://prnt.sc/ky0o3h I have onlu problem with "s" in ends of "İl". "Month" need translate too of course.
  4. Tengri

    Marketplace translation

    One interesting moment. @brian! Some month ago you help me to translate "year" and "years" in order.tpl of store. I change codes to this: if $pricing->isRecurring()} {if $pricing->isYearly()} {$pricing->cycleInYears()|replace:'Year':{lang key="store.upsell.years"}} - {$pricing->yearlyPrice()|replace:'/yr':{lang key="store.upsell.yearly"}} {else} {$pricing->cycleInMonths()|replace:'Years':{lang key="store.upsell.monthly"}} - {$pricing->monthlyPrice()|replace:'/mo':{lang key="store.upsell.monthly"}} {/if} In Azerbaijani "year" and "years" is "İl" and "İllər". When you add number of year, use only "İl". Example: 1 il, 2 il. 3 il and etc. After adding this code I get end of "İl" - > "İls".This is wrong. https://prnt.sc/kxzlz9 And how translate "Month"? https://prnt.sc/kxzpk4
  5. Tengri

    Marketplace translation

    Yes. Got it. I don't know why but when I adding variables with "learnmore" I get PHP error in WHMCS. (I use only variables "learnmore" like this: [store][learnmore]='Daha ətraflı'). I change "learnmore" to variables to another and it's work. Best thanks! Thank you for taking the time for me.
  6. Tengri

    Marketplace translation

    This is very interesting. I do it. And variables added too of course. But I get this: https://prnt.sc/kxz1tm
  7. Tengri

    Marketplace translation

    It's kind of because of the code. I checked already on two machines. When I add the code the banner disappears. When I return the code, the banner reappears.
  8. Tengri

    Marketplace translation

    This is interesting. After edit this code slider banners in client area are gone. I don't know why.
  9. Tengri

    Marketplace translation

    Yes. Only in animated panel and only for SiteLock. I continue tests.
  10. Tengri

    Marketplace translation

    I change it. But unfortunately it did not work. SiteLock link has not changed.
  11. Tengri

    Marketplace translation

    You know I don't understand hooks at all. Moreover, I do not understand it as such. But I really need to change the link in the promo in the client panel. Because for SiteLock we use another page. And on the panel this link go to to /store/sitelock.php. I need change this link to "sitelock.php" only. Without store. Could you add the right lines for me on hooks? I would be very grateful.
  12. Tengri

    Marketplace translation

    And how can I edit "Learn more" link in client are: https://prnt.sc/kxpnmw
  13. Tengri

    Marketplace translation

    Hello. Where can I translate this section? (SiteLock)
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines