• Resolved fdanell

    (@fdanell)


    Hi,
    I’ve noticed a large php error log file. Complianz is filling it about 30mb a day with these sorts of messages:

    [25-Mar-2022 11:55:45 UTC] Translation error detected
    [25-Mar-2022 11:55:45 UTC] Array
    (
        [0] => För mer information, läs denna %artikel%s.
        [1] => <a target="_blank" href="https://complianz.io/statistics-implementation">
        [2] => </a>
    )
    
    [25-Mar-2022 11:55:45 UTC] Translation error detected
    [25-Mar-2022 11:55:45 UTC] Array
    (
        [0] => För mer information, läs denna %artikel%s.
        [1] => <a target="_blank" href="https://complianz.io/statistics-implementation#configuration">
        [2] => </a>
    )
    
    [25-Mar-2022 11:55:45 UTC] Translation error detected
    [25-Mar-2022 11:55:45 UTC] Array
    (
        [0] => För mer information, läs denna %artikel%s.
        [1] => <a target="_blank" href="https://complianz.io/our-cookiedatabase-a-new-initiative/">
        [2] => </a>
    )
    
    [25-Mar-2022 11:55:45 UTC] Translation error detected
    [25-Mar-2022 11:55:45 UTC] Array
    (
        [0] => För mer information, läs denna %artikel%s.
        [1] => <a target="_blank" href="https://complianz.io/how-to-redirect-your-policies-based-on-region/">
        [2] => </a>
    )
    
    [25-Mar-2022 11:55:45 UTC] Translation error detected
    [25-Mar-2022 11:55:45 UTC] Array
    (
        [0] => För mer information, läs denna %artikel%s.
        [1] => <a target="_blank" href="https://complianz.io/changing-the-default-social-placeholders/">
        [2] => </a>
    )
    
    [25-Mar-2022 11:55:45 UTC] Translation error detected
    [25-Mar-2022 11:55:45 UTC] Array
    (
        [0] => För mer information, läs denna %artikel%s.
        [1] => <a target="_blank" href="https://complianz.io/changing-the-google-maps-placeholder/">
        [2] => </a>
    )
    
    [25-Mar-2022 11:55:45 UTC] Translation error detected
    [25-Mar-2022 11:55:45 UTC] Array
    (
        [0] => För mer information, läs denna %artikel%s.
        [1] => <a target="_blank" href="https://complianz.io/what-regions-do-i-target/">
        [2] => </a>
    )
    
    [25-Mar-2022 11:55:45 UTC] Translation error detected
    [25-Mar-2022 11:55:45 UTC] Array
    (
        [0] => För mer information, läs denna %artikel%s.
        [1] => <a target="_blank" href="https://complianz.io/records-of-consent">
        [2] => </a>
    )
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @fdanell,

    Thank you for letting us know about this!

    It appears that one of the translators missed a %s in the translation (Swedish), which causes this message to appear.

    We will address this in the upcoming update, but I will also provide the updated .po/.mo localization files below so you can overwrite them on your site, and solve the issue right away.

    Please find the localization files attached here: https://we.tl/t-xEoBiRzhwx

    Kind regards,
    Jarno

    Thread Starter fdanell

    (@fdanell)

    Thank you, it’s working with your fix.

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @fdanell,

    Thank you for your confirmation.

    I will mark the thread as resolved, please feel free to reach out if you have any further questions.

    Kind regards,
    Jarno

    vanauss

    (@vanauss)

    Dear @jarnovos,
    I’m facing the same problem, but in Czech. Is it please possible to send me a link to the current and corrected sources ?

    For your information, error log from our server:

    [Fri Apr 01 10:59:06.276272 2022] 
     [proxy_fcgi:error] [pid ***:tid ***] 
     [client ***] AH01071: Got error 'PHP message: Translation error detectedPHP message: 
    Array\n(\n    
    
    [0] => Soulad s GDPR/CCPA 5.5. Zjist\xc4\x9bte v\xc3\xadce o na\xc5\xa1\xc3\xad nejnov\xc4\x9bj\xc5\xa1\xc3\xad verzi.&nbsp;Pro v\xc3\xadce informac\xc3\xad si pros\xc3\xadm p\xc5\x99e\xc4\x8dt\xc4\x9bte tento <a target="_blank" href="https://complianz.io/meet-complianz-6-0/">\xc4\x8dl\xc3\xa1nek</a>.\n    
    
    [1] => 6.0.0\n)\n', referer: https://***/***/?utm_source=facebook&utm_medium=cpc&utm_campaign=traffic&***

    PS: all this *** are delete sensitive info from website

    Thank you very much

    van

    • This reply was modified 2 years ago by vanauss.
    • This reply was modified 2 years ago by vanauss.
    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @vanauss,

    I have referred the incorrect translation in Czech (stable) to a translator that has sufficient permissions to change this.

    I will provide you with an update here, as soon as it has been accepted.

    Kind regards,
    Jarno

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @vanauss,

    The translation in Czech (stable) has been corrected. Please go to WordPress – Dashboard – Updates to see if there are any language updates.

    This might take a while due to caching, so you could also manually download the updates translation files here (by clicking “Export”): https://translate.wordpress.org/projects/wp-plugins/complianz-gdpr/stable/cs/default/

    Kind regards,
    Jarno

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP error “Translation error detected”’ is closed to new replies.