How to translate a pregnancy calculator in WordPress

Blog

5 min read

You translate the calculator in its own settings. In WP Pregnancy & Ovulation Calculator PRO, our pregnancy calculator plugin for WordPress, every label, message, baby-size name and description, and the datepicker’s day and month names can be rewritten for each calculator, and you choose the date format and the first day of the week. On a multilingual site, you create one calculator per language and put each one on the page for that language.

No translations ship with the plugin, so you or your translator write the texts. These settings are part of Pro: the free WP Pregnancy & Ovulation Calculator on WordPress.org has no label editing, no week-start setting and only one calculator. Here is where the texts live and what to check before the page goes live.

Where do you translate the calculator’s texts?

Open the calculator under Pregnancy & Ovulation Pro → All Calculators and go to the “Labels Customization” tab. It has four sub-tabs:

  • Calculator: 72 labels covering the inputs, the form and the pregnancy and ovulation results, from “Calculation Method” and “The first day of your last period” to “Days until birth” and “Fertile Window”.
  • Baby Sizes: for each of the 42 weeks, the name (such as “Poppy Seed” or “Blueberry”), the image, the description and the IVF description.
  • Datepicker: the 7 day abbreviations and the 12 month names.
  • Messages: the 9 validation and success messages.

A few texts live in other tabs:

  • Settings tab: the calculator title (by default “Pregnancy & Ovulation Calculator”) and, if you show user agreements, the agreement message and link texts.
  • Email/PDF templates tab: the subject and body of the email to the visitor and of your notification, plus the PDF header text and footer text. The default email and PDF texts still use the plugin’s old name, Ultimate Pregnancy & Ovulation Calculator, so you will want to rewrite them in any language.

Translate the estimate wording with the same care as the rest: the result screen’s line “* the results of this calculator are estimations only”, the email’s note that the dates are estimates, and the PDF footer. In every language, the calculator gives an estimate and does not replace an examination or advice from a doctor or midwife, and visitors should read that in words they understand.

Which date format and week start should you pick?

The Calculation tab sets the Date Format, with five options. The same format, with your translated month names, appears in the results, the emails and the PDF.

FormatExample for December 5, 2026
dd MM yy (default)05 December 2026, with your month name in place of “December”
mm/dd/yy12/05/2026
dd/mm/yy05/12/2026
yy-mm-dd2026-12-05
dd.mm.yy05.12.2026

Choose the format your readers use every day. The dd MM yy format spells out the month, which avoids reading 05/12 as May 12 on a site with international visitors. Under Week Start, choose Monday or Sunday (the default) to match the calendars your readers know; it applies to the datepicker and to the ovulation calendar.

What is the .pot file for?

The plugin is translation-ready: its text domain is ultimate-pregnancy-ovulation-calculator-pro, and it includes a .pot template of its texts, including the admin screens. As the WordPress plugin handbook explains, a translator turns a POT file into a PO file for one language and builds an MO file from it, named after the text domain and the locale, such as de_DE for German.

For what visitors read, the calculator’s own labels are the place to work: whatever you type in Labels Customization overrides the default texts, and each calculator keeps its own. A translation file mainly helps if you want the plugin’s admin screens in your language.

How do you set up several languages?

Only one calculator works on a page, and each calculator keeps its own settings, so give each language its own calculator:

  1. Set up the first calculator completely in one language: labels, baby sizes, datepicker, messages, date format, week start, title, emails and PDF texts.
  2. Create the next one with Add New Calculator, repeat the settings in the second language, and include the language in the calculator’s name so you can tell the entries apart.
  3. Place each calculator on the page for its language, either with its shortcode, such as [upo-calc-pro id="123"], or with the plugin’s block, where you pick the calculator in the block sidebar. Our guide on how to add a pregnancy calculator to WordPress covers placement step by step.

Separate calculators keep everything else in the right language too. The results email and the PDF use that calculator’s texts, the admin notification can go to a colleague who speaks the language, and each calculator can send contacts to its own Mailchimp audience or tag, or its own Kit tag, so your follow-up emails go out in the right language.

What should you check before you publish?

  • Medical wording. Have a clinician or a medical translator who works in that language review the results, the baby-size descriptions, the cycle phase texts, the emails and the PDF, and use the terms your local health services use.
  • Numbers and plurals. Results combine numbers with words such as weeks, days and months. Try several dates so you see different numbers, and choose wording that reads well if your language changes word forms with the number.
  • Every method. Visitors can switch between all five methods (Due Date, Last Period, Conception, Ultrasound and IVF Transfer), so translate every input label, even for methods you don’t expect people to use.
  • Fonts. Check that the headings font has every letter of your alphabet. If letters look mismatched, pick a Google Font that supports your script or set the headings font to Disabled in the Styling tab. Our guide to customizing the calculator’s design covers the other font and color settings.
  • The PDF. Download a test PDF in your language and check that every character displays. If some don’t, switch off “Show PDF download button” for that calculator and offer email results instead.
  • Right-to-left languages. RTL support isn’t documented, although the stylesheet has some RTL rules, so test the form, the results and the calendar on an RTL page before launch.
  • Phones. Longer words can wrap in buttons and labels, so check the page on a narrow screen.

To see the layout you will be translating, try the pregnancy calculator demo.

All posts