Closed (fixed)
Project:
Auto Node Translate
Version:
2.1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Mar 2023 at 16:00 UTC
Updated:
12 Apr 2023 at 13:34 UTC
Jump to comment: Most recent
When a "text" or "string" field translation is bigger than 255bytes the module uses the php function substr to trim it. With special characters this can cause an error when saving the term.
Replace the substr function with mb_substr in the function translateTextField of the TranslationForm.
Comments
Comment #2
kallado commentedComment #4
kallado commented@joao.lemos Will be fixed in the next version.
Comment #5
kallado commentedComment #6
jmauricio commentedComment #7
kallado commented