Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nasirzid opened this issue Jul 9, 2024 · 6 comments
Assignees

Comments

@nasirzid
Copy link

nasirzid commented Jul 9, 2024

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
Copy link
Author

nasirzid commented Jul 9, 2024

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

Here is Tolgee value:
image

@stepan662
Copy link
Contributor

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

@nasirzid nasirzid changed the title Parameter interpolation: In Tolgee Version 5 its veriable name is not printing in Vuejs file Parameter interpolation: In Tolgee Version 5 its variable name is not printing in Vuejs file Jul 9, 2024
@nasirzid
Copy link
Author

nasirzid commented Jul 9, 2024

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

@stepan662
Copy link
Contributor

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.

Copy link
Contributor

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

@github-actions github-actions bot added the stale label Aug 10, 2024
@JanCizmar
Copy link
Contributor

Hey! Any news here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants