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

Linked translation not working if property is not a child or local #691

Open
simonwep opened this issue Aug 26, 2019 · 1 comment
Open
Labels
Status: PR Welcome Welcome to Pull Request Type: Bug Bug or Bug fixes

Comments

@simonwep
Copy link

vue & vue-i18n version

vue: 2.6.10
vue-i18n: 8.14.0

Reproduction Link

Got a jsfiddle

Steps to reproduce

Just try to use linking but I'm confused how to link properly to attributes which are not a child of the current one.

'en-US': {
  'wordlist': [
    '@:words.apple',
  ],
  'words': {
    'apple': 'Applejuice'
  }
}

What is Expected?

@words.apple does get properly resolved to Applejuice.

What is actually happening?

The plain reference string is shown instead (@:words.apple). I read the docs to it, but it's nowhere mentioned that the referenced value must(??) be a child from the current one. Or I'm missing something?

Maybe related to #195 and #50 where it got added.

@kazupon kazupon added Type: Bug Bug or Bug fixes Type:Linked labels Oct 20, 2019
@jsoncode
Copy link

Is there a solution to this in the end?

@kazupon kazupon added the Status: PR Welcome Welcome to Pull Request label Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: PR Welcome Welcome to Pull Request Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

3 participants