Support » Plugin: Easy BMI Calculator » Translation

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Twoultall

    (@twoultall)

    Hi Michael,
    Thanks for the feedback, we we’ll have a look and get back to you soon!

    Thread Starter michaelroed

    (@michaelroed)

    Hi,
    I found that the strings must be translated in the bmi-calculator.js file. Now I am only missing where I set the default value to metrics.

    Please advise.

    Plugin Author Twoultall

    (@twoultall)

    Hi,
    In the template.php
    Find:

    <span class="bmi-calculator-system-imperial">
          <input type="radio" class="bmi-calculator-system-radio" value="imperial" checked="checked"/> Imperial
        </span>
        &nbsp;&nbsp;
        <span class="bmi-calculator-system-metric">
          <input type="radio" class="bmi-calculator-system-radio" value="metric"/> Metric
        </span>

    and change it to:

     <span class="bmi-calculator-system-imperial">
          <input type="radio" class="bmi-calculator-system-radio" value="imperial"/> Imperial
        </span>
        &nbsp;&nbsp;
        <span class="bmi-calculator-system-metric">
          <input type="radio" class="bmi-calculator-system-radio" value="metric" checked="checked"/> Metric
        </span>
    Thread Starter michaelroed

    (@michaelroed)

    Perfect.
    Thank you very much 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translation’ is closed to new replies.