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

Relation widget not working with new i18n multilanguage feature #4491

Closed
bbzitopirulito opened this issue Oct 23, 2020 · 3 comments · Fixed by #6299
Closed

Relation widget not working with new i18n multilanguage feature #4491

bbzitopirulito opened this issue Oct 23, 2020 · 3 comments · Fixed by #6299

Comments

@bbzitopirulito
Copy link

bbzitopirulito commented Oct 23, 2020

Description:

  • Relation widget only queries the default entry language for the required data even when the language is changed in the CMS preview.

Steps to Reproduce:

  1. Configure config.toml with the new i18n feature with 2 languages (like "en" and "pt")
  2. Create a collection ("test", for example) with the "path" string widget field and create and entry in cms for both languages. In "pt", the path field will receive "portuguese" as it's value, and in "en", the field value will be "english"
  3. Create another collection with a field configured just like in the first screenshot
  4. Open the entry with the relation widget in CMS preview, and the relation widget will only show the value from the default language in both entry languages

Expected behavior:

  • The relation widget will show "english" in both entry languages

Screenshots:
image

image

image

Versions:

  • netlify-cms-app 2.12.24
  • netlify-cms-core 2.30.7

CMS configuration:
image

@bbzitopirulito bbzitopirulito added the type: bug code to address defects in shipped code label Oct 23, 2020
@frankspin89
Copy link

Is there a way to speed up resolving on this issue? Like sponsoring development?

@erezrokah
Copy link
Contributor

Hi @frankspin89 if you find someone that would like to do it, we'll gladly accept a PR for it.
Our Slack channel is a good place to ask.

@bytrangle
Copy link
Collaborator

bytrangle commented Mar 21, 2022

@bbzitopirulito Would you mind sharing the config file for this? i.e. what goes under path and usecase collection, how to set up the relation widget etc?

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

Successfully merging a pull request may close this issue.

4 participants