Going further
Translation and right to left
Quire is ready for translation, and the whole design mirrors for right-to-left languages such as Arabic, Hebrew, and Persian.
Set the site language#
Go to Settings > General and choose a Site Language. Click Save Changes. WordPress, WooCommerce, Elementor, and Contact Form 7 have their own translations, and WordPress downloads them for you. Quire's own words need a translation file, as shown below.
Translate the theme and the plugin#
Quire has two translation templates (.pot files), one for the theme and one for the plugin:
| File | Text domain | Translates |
|---|---|---|
quire/languages/quire.pot | quire | The theme: the header, the phone menu, the footer, the archives, the blog, the shop pages, the 404 page, the Customizer labels, and the messages the scripts show. |
quire-core/languages/quire-core.pot | quire-core | The plugin: the 65 widgets and their default texts, projects and their fields, the header and footer templates, the sidebar widgets, share links, the shop extras, and the Quire dashboard page. |
On your server, the theme's file is in wp-content/themes/quire/languages/ and the plugin's file is in wp-content/plugins/quire-core/languages/.
Every word that Quire's scripts show (for example "Next", "Close", and "Showing 6 projects") comes from PHP. So the normal .po and .mo files translate them too. You do not need extra JSON files.
With Loco Translate (no files to move)#
- Install and activate the free plugin Loco Translate from Plugins > Add New Plugin.
- Go to Loco Translate > Themes and click Quire.
- Click New language and pick your language.
- Choose where to save the file. Pick Custom or System. Do not pick Author: that location is inside the theme folder, and a theme update replaces it.
- Click Start translating, translate the words, and click Save.
- Do the same for Quire Core under Loco Translate > Plugins.
With Poedit#
- Open
quire.potin Poedit and choose Create New Translation. Pick your language. - Translate the words, then save. Poedit writes a .po file and a .mo file.
- Name the files with the text domain and your language code. For German:
quire-de_DE.poandquire-de_DE.mo. - Upload both files to
wp-content/languages/themes/on your server. - Do the same with
quire-core.pot. Name the filesquire-core-de_DE.poandquire-core-de_DE.mo, and upload them towp-content/languages/plugins/.
Files in wp-content/languages/ are not touched when you update Quire or Quire Core. Files you put inside the theme or plugin folder are replaced by an update, so do not save them there.
Words you add in the child theme#
The child theme has its own text domain, quire-child. Its functions.php already loads translations from quire-child/languages/. Create that folder and put files named with the language code only, for example de_DE.mo. See Child theme and code.
A site in several languages#
Quire works with WPML and Polylang. The theme and the plugin each include a wpml-config.xml file. This file tells WPML (and Polylang) which content holds words to translate, and which values to copy as they are.
What the files register#
| Content | What happens |
|---|---|
| Projects and the Header and Footer templates | Can be translated, one copy per language. |
| The project lists: disciplines, clients, and years | Can be translated. |
| Project fields: role, summary, and facts (each label and value) | Translated. |
| Project fields: print shape, focal point, live link, layout, gallery, and video | Copied to each language as they are. |
| The "Header and footer" switches on a page, post, or project, and the display rules of a template | Copied. |
| The text fields of all 65 Quire widgets in Elementor (headings, text, button labels, links, and the items of repeated lists) | Translated in WPML's translation editor. |
| Customizer texts: the header Button text, the footer's Large line above the footer and Copyright line, the contact Place, and the 404 page Title and Text | Translated as strings. |
| The project Archive address on Quire > Dashboard | Translated as a string. |
With WPML#
- Translate pages built with Elementor in WPML's translation editor. The text of each Quire widget appears there, field by field.
- Translate the Customizer texts and the archive address in WPML > String Translation. This needs the String Translation add-on, which comes with WPML's multilingual plans.
With Polylang#
- Polylang reads the post types, the project lists, the project fields, and the Customizer texts from the same files.
- Translate the Customizer texts in Languages > Translations.
- For a page built with Elementor, create the translation of the page, open it in Elementor, and change the text of each widget there.
The language switcher#
The simplest place for a language switcher is the menu, because Quire styles every menu item, in the bar and in the phone menu:
- Polylang: go to Appearance > Menus and add the language switcher from the Language switcher box to the primary menu.
- WPML: go to WPML > Languages and add a menu language switcher to the primary menu.
You can also add the switcher widget to a footer area. Quire has no special styles for the switchers, so they take the style of the menu or the widget area. To print a switcher in the header bar itself, use the quire_header_actions hook in a child theme. See Actions.
Right-to-left languages#
When the site language is written right to left, WordPress tells the theme, and Quire loads its mirrored stylesheets in place of the normal ones. You do not need to change a setting.
The mirrored files are made from the normal ones when the theme is built, and they ship next to them in quire/assets/css/:
quire-rtl.css: the whole front end.woocommerce-rtl.css: the shop pages.editor-style-rtl.css: the block editor.customizer-controls-rtl.css: Quire's own Customizer controls.
Each one also has a minified copy (.min.css), which the site uses unless SCRIPT_DEBUG is on.
What mirrors#
- The layout, the header, the dropdown cards, the phone menu, the footer, the blog, and the shop run from right to left.
- Arrows and chevrons point the other way.
- The motion mirrors too. The prints of the table hero and the pinboard lie in mirrored places, the strip hero and the marquee move the other way, and the carousel, the slide hero, the gallery, and the testimonials move in the reading direction.
- The arrow keys follow the reading direction in the gallery, the slide hero, and the tabs. The slider of the Before and after widget opens from the other side.
What stays left to right#
- Email addresses, web addresses, and phone numbers in Contact Form 7 fields.
- The color codes in the Color palette widget.
- The play triangle of the video player.
- Photographs are never flipped.
Fonts for other alphabets#
The bundled fonts, Bricolage Grotesque and Hanken Grotesk, have Latin letters only. For Arabic, Hebrew, Persian, and other alphabets, the browser uses a font from the visitor's device. The four Google pairings in Appearance > Customize > Quire > Typography are also Latin fonts. To use a font made for your alphabet, a child theme can add a pairing with the quire_font_pairings filter. See Filters and The Google pairings.
A translator can also turn off the Google pairings for a language. In the theme's .pot file, the string on with the context "Google fonts: on or off" controls this. Translate it as off (in English, not in your language), and the theme loads no Google fonts for that language.
Test a right-to-left site#
- Work on a staging copy of your site if you can.
- Go to Settings > General, set Site Language to a right-to-left language such as Arabic, and click Save Changes.
- To keep the admin screens in your own language, go to Users > Profile and set your own Language. This changes the admin for you only, not the site.
- Open the site in a private browser window, so no cached page shows. If you use a caching plugin, clear its cache first.
- Check the header and the dropdown cards, the phone menu, a home page with motion, a project, a post, and the shop.
- When you are done, set the site language back.
WordPress chooses the mirrored stylesheet on the server, from the site language. If you only change dir to rtl in the browser's developer tools, the mirrored stylesheet does not load, and the page looks broken.
Quire 1.0.0 documentation, updated 2026-11-07. Online at quire.jawad.work/docs/.