How can I translate these elements ? I couldn't find a file with these elements in the theme settings

On the account page

If you use Loco Translate please check these strings in the corresponding HivePress or extension sections, for example, Loco Translate/Plugins/HivePress Requests, Loco Translate/Plugins/HivePress Memberships, Loco Translate/Plugins/HivePress.

This did not help the “Requests” block still does not translate

Please try to click the Sync button to re-scan the strings in Loco Translate/Plugins/HivePress Requests. It was tested locally and this string was found in Loco Translate/Plugins/HivePress Requests

It only worked after correcting the code directly, Loco translate helped find the file where you need to do the translation :slight_smile:

Please don’t edit the theme/plugin files directly because any changes will be erased on the update, using Loco Translate is the best way to change strings & keep track of any changes. The translation on the screenshot doesn’t work because you added Заказы to the Context field - please remove it and just Sync the translation template.
Then you can get back to the language translation file (not a template, it should not be edited directly) in Loco Translate/Plugins/HivePress Requests and add a translation for the Requests word, then it should be ok.
Hope this helps.

Files are erased even when a child theme is created ?

If you use a child theme it should be ok, but in any case using Loco is recommended - all static strings are wrapped with the translation functions for this purpose (to be indexed by the Loco and other PO plugins) so you don’t have to search for every string in the source code, this would require copying every changed file to the child theme, and it’s not possible for the plugin config files.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.