Change / edit already translated word in WordPress

I am setting up a WooCommerce virtual store (WordPress) and recently installed a translation pt_BR. Everything is translated correctly, except the term:

QUICK VIEW

Which appears translated as - VISUALIZA RÁPIDA and the correct would be - VISUALIZAÇÃO RÁPIDA, or just: VISUALIZAR.

How do I edit the translation of that word, or even change the word?

Author: Chun, 2015-10-25

1 answers

The easiest way to manage translations, both for editing or creating new translations, is by using the Loco Translate plugin.

The Loco Translate plugin allows you to edit PO and POT files through your browser. These files are the files used for localization of WordPress plugin and theme translations.

What is location?

Localization describes the subsequent process of translating a theme internationalized. The location is abbreviated as l10n (because there are 10 letters between l and n.) #


About POT (Portable object Template) files

This file contains the original strings in your theme. Here is an example of file input POT:

#: theme-name.php:123
msgid "Page Title"
msgstr ""

The first line is a comment that is usually the file sequence number and line. The line msgid is the original string and msgstr is the section where the translation enters.

However to translate a text through .POT is not as simple as in the plugin I mentioned above, it is not enough just to translate the file .POT of the theme, update and send the file:

#: theme-name.php:123
msgid "Page Title"
msgstr "Título da Página"

There is a process to be done as explained here in this WordPress documentation.

To learn more about this, visit the respective documentation pages:

Translate WordPress - Gettext
WordPress function-Localization

 4
Author: Chun, 2015-10-25 13:00:19