Jump to content

Default language duplicated in dynamic translations


Recommended Posts

Just a quick one to osee whether anyone else has encountered this.

I noticed that when I add or edit a product the default language (English which was also the one at installation) is also being added to dynamic translations - an even quirkier behaviour is that if I only have the english language file present in the /lang directory the content from the english tbldynamic_translations  is served but if multiple language files are present then the content from tblproducts is used. I have a suspicion that this only started happening after the 8.1.3 upgrade.

I have tried switching the default language to somethng else and back again but the behaviour remains

I have raised a ticket with support and they are unable to reproduce and I just wanted to see whether anyone else had encountered this before I reluctantly grant them access to my system

Link to comment
Share on other sites

  • WHMCS Technical Analyst II

Thank you for posting. I can see that my colleagues are working on your support ticket and are attempting to get it into a reproducible state, as it is quite unusual and not something that has been reported before. I would recommend continuing to correspond with them and provide any requested details to aid in determining the cause of this issue and get it addressed accordingly.

Link to comment
Share on other sites

On 12/05/2021 at 16:52, MrGettingRatherFrustrated said:

I noticed that when I add or edit a product the default language (English which was also the one at installation) is also being added to dynamic translations

if it helps, i'm seeing that in v8.1.3 - though I can't remember if this is expected behaviour or not.

On 12/05/2021 at 16:52, MrGettingRatherFrustrated said:

I have raised a ticket with support and they are unable to reproduce and I just wanted to see whether anyone else had encountered this before I reluctantly grant them access to my system

if you have a dev that is doing the same thing, i'd suggest that it would be safer to give them access to that dev rather than a live production server.

Link to comment
Share on other sites

Well WHMCS support first claimed that they couldnt reproduce the issue and saying I must have changed the default language as thats the only time it could happen - which even if I had shouldnt have been adding the "new" default language to tbldynamic_translations

They asked for a video, then access and then came back saying that this is the normal behaviour (despite previously claming they couldnt reproduce) and all languages, including the default, go into the tbldynamic_translations if that feature is enabled.

Apart from the fact that this doesnt explain why if multiple language files are present content is served from tblproducts for the default language and only from dynamic translations if ONLY the default language file is present this has got to be the sloppiest laziest coding going ....

A complete and unnecessary duplication of all product data bloating the database

I'm only really posting so that if someone else stumbles across this there is something out here., it is particularly relevant if you ned to do bulk product name/description updates against the database

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated