Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client needed to translate the 'Next' button of a post into Latvian but was unable to do so using string translation.
Solution:
We recommended translating these strings through the translation editor. We provided a visual guide with screenshots to assist the client in locating and translating the 'Next' button string within the translation editor. After applying the translation, we advised the client to check the translated page on the front end to ensure the changes were successful.

If this solution doesn't look relevant to your issue, please open a new support ticket with us.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 6 replies, has 3 voices.

Last updated by Osama Mersal 1 year, 7 months ago.

Assisted by: Osama Mersal.

Author Posts
December 15, 2023 at 1:30 pm #15073129

karlisM-2

Hello.
Where and how is it possible to translate the Next button of the post? It is necessary to translate it into Latvian.
With string translation, I can't do it.
Site link : hidden link

Screenshot 2023-12-15 at 15.23.50 (2).png
December 15, 2023 at 1:56 pm #15073467

karlisM-2

Hello.
Where and how is it possible to translate the Next button of the post? It is necessary to translate it into Latvian.
With string translation, I can't do it.
Site link : hidden link

December 15, 2023 at 3:39 pm #15074201

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Hi,

thanks for contacting us.

How did you create the button?
Please provide us with your debug information https://wpml.org/it/faq/provide-debug-information-faster-support/

December 18, 2023 at 8:06 am #15080933

karlisM-2

I'm using the Astra theme to which I've integrated the Spectra plugin with the post grid extension. For this post grid, it would be necessary to translate the next and previous buttons at the bottom of this post grid.

December 18, 2023 at 1:22 pm #15084665

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

1) Please login to this sandbox site and install the Spectra plugin. (hidden link)

After that, please create a test page using this post grid and translate it to replicate the issue. If the issue is replicable, please let me know how to reproduce it.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

December 18, 2023 at 1:56 pm #15084793

karlisM-2

Hello, Osama!
I created 3 new posts and one new page. :hidden link
I would need to translate these next and previous buttons into Latvian.
next -> nākamās and previous-> iepriekšējā

December 18, 2023 at 2:13 pm #15084907

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for replicating this issue. These strings are translated via the translation editor. (Kindly check the attached screenshots)

Please check the translated page on the front end. (hidden link)

Best regards,
Osama

2023-12-18_16-12-56.jpg
2023-12-18_16-11-20.jpg
December 18, 2023 at 2:26 pm #15085103

karlisM-2

Thank you very much for the solution to this problem!
Everything went perfectly