tolgee-platform icon indicating copy to clipboard operation
tolgee-platform copied to clipboard

Parameter interpolation: In Tolgee Version 5 its variable name is not printing in Vuejs file

Open nasirzid opened this issue 1 year ago • 6 comments

Its printing same string instead to replace {service} with "Google". please check following script

<template>
  <div>
    {{ $t('service.not_configured_service', { service: serviceName }) }}
  </div>
</template>

<script>
export default {
  data() {
    return {
      serviceName: 'Google' // Replace with dynamic value as per your application logic
    };
  }
};
</script>```

nasirzid avatar Jul 09 '24 11:07 nasirzid

Here is Output: You have not configured {service} service.

Here is Tolgee value: image

nasirzid avatar Jul 09 '24 11:07 nasirzid

Hello, I'm not really able to replicate from provided description. Have you looked at the migration guide from v4? https://tolgee.io/js-sdk/migration_to_v5/core

stepan662 avatar Jul 09 '24 12:07 stepan662

@stepan662 I'm currently using Tolgee version 5, and I'm facing this issue within v5.

nasirzid avatar Jul 09 '24 13:07 nasirzid

Ok, but I would need to see more details to replicate your issue. I don't know how you initialize Tolgee or what exact version are you using and without that, I can't help you.

stepan662 avatar Jul 10 '24 06:07 stepan662

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 10 '24 01:08 github-actions[bot]

Hey! Any news here?

JanCizmar avatar Aug 20 '24 11:08 JanCizmar