Skip Navigation

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.

Our next available supporter will start replying to tickets in about 8.58 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Laura 5 months ago.

Author Posts
June 17, 2024 at 8:17 pm #15746831

edA

Background of the issue:
We've been using WPML to apply translations of strings to our French site. We have three environments, local, staging, and production, all of which share the same git repository. The workflow we have been using is to implement the string translations on the local site, commit any changes to the .mo files, push them up to the repo, and deploy them as a part of the code for the site. This generally works. Confounding the issue is that we're also using Pinegrow to build the theme locally. It's got a bad habit of shuffling some of the codebase when it compiles the theme, though it never changes the spacing or strings that need to be translated.

Symptoms:
We've been having issues with individual translations 'disappearing'. A handful that have been changed might deploy to the site just fine, but other translations will disappear on the site where we have implemented them before. Never all of them disappear, but certainly enough that we notice and different ones every time.

Questions:
Is our git workflow a correct way to manage string translations, or is there a preferred method?
Would having translatable strings change line numbers or indentation have an effect on their ability to hold on to string translations?

June 19, 2024 at 11:00 am #15755110

Laura
Supporter

Languages: English (English ) Italian (Italiano )

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

Hi,

thanks for contacting us.

Probably the issue is that you don't have enough memory, not a GIT workflow.
Please follow this FAQ and see if this helps.

The topic ‘[Closed] String translations go missing; issue with git workflow?’ is closed to new replies.