• Resolved sabahath

    (@sabahath)


    Dear experts here,

    I tried translating the Menu section with visual editor and also string editor but few of the translated menu items are not accepted by the plugin for example https://sab1000.de/en/ here in menu : my account myorder and Digital services these were manually translated to My Account , My Orders and Services but is not shown on the front end please suggest were to edit these menu items.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Greetings,

    Thanks for reaching out to us!

    You can also translate your strings directly from the backend using the WP Data Access plugin https://www.ads-software.com/plugins/wp-data-access/

    However if you are not able to see the strings in the database it means that they are not being detected by TP.


    Let’s say for example that your default site’s language is English (United States) and that you want to translate a string to Spanish.
    Using WP Data Access, you will have to search for that string either in the wp_trp_dictionary_en_us_es_es table or in the wp_trp_gettext_es_es table.
    The gettext table contains all the strings related to plugins or themes, while the dictionary table contains the strings related to your site’s content.

    Here is an image of how WP Data Access looks when you search for the trp tables: https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_search_for_table.jpg

    You can never be too sure in which table a string will be, so the best practice is to search for it in both tables. Start with one table and if you are not able to find it there, search for it in the other table.
    Here is an image of how I was able to search for all strings that contain “cart” in the wp_trp_dictionary_en_us_es_es table: https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_search_for_string.jpg

    After you find the string that you want to edit, all you have to do is to edit the row and to add the translation in the Translated column. It is also important to add 2 in the Status column (0 – not translated; 1 – automatic translated; 2 – manually translated).
    Here is an image of how to do the translation: https://www.cozmoslabs.com/wp-content/uploads/2021/05/wp_data_access_translate_string.jpg
    After you have filled the Translation and Status columns, press the Submit button and the translation is going to be saved.

    In the example I gave above, I used English and Spanish, you can do the same for all languages, just make sure to replace the en_us and es_es language codes with the ones that you are using. You can find the codes for your languages by going to: Settings –> TranslatePress –> General tab https://www.cozmoslabs.com/wp-content/uploads/2021/05/general_langauge_code.jpg

    Let me know if this helped

    Thread Starter sabahath

    (@sabahath)

    Thanks it worked

    Thread Starter sabahath

    (@sabahath)

    I though its working but again to translate the internal Strings there the above mentioned tables are showing no effect .

    Please suggest

    Thread Starter sabahath

    (@sabahath)

    Hello again ,

    As said I am not able to translate few strings in plugin name CHECKMYADDRESS and though to contact that plugin support either : After contacting plugin support and following their advice, the problem seems to be with Translate press not translating the action strings in their plugin, as Loco Translate works fine for said strings. Please see the  email mail conversation and advice how will translate press work smoothly as it always used to :  I don’t want to delete your plugin, please suggest how can those strings be translated ?

    This is the problem with internal strings which are called on action and not with other strings. The displayed strings TP is showing 3 fields as in below screenshot and accepting the translation. When I checked with the suggested translation plugin that plugin is accepting the translations for those action strings and also displaying them at the front end. But I cant keep 2 translation plugins it is effecting the websites speed and functionality . please advice how will this issue be cleared ? How will TP translate the internal strings in the mentioned plugin?

    • This reply was modified 1 year, 6 months ago by sabahath.
    Thread Starter sabahath

    (@sabahath)

    please reply and hope this issue will be resolved by today .

    I am waiting

    Plugin Support Alex

    (@alexcozmoslabs)

    I set this ticket as Resolved.
    You can also change its status back to unresolved and let us know by replying to this topic if your issue still needs attention.
    Another option is to let this ticket as it is and open a new one where to mention the issue again and ask for support.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menu translation is not accepted’ is closed to new replies.