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

Support x-default as a language code. #28

Open
Berdir opened this issue Dec 5, 2014 · 0 comments
Open

Support x-default as a language code. #28

Berdir opened this issue Dec 5, 2014 · 0 comments

Comments

@Berdir
Copy link
Collaborator

Berdir commented Dec 5, 2014

Right now, if you have exported default content with a specific langcode like en, and then install with a different langcode, your entities will exist but all their field values will be lost as they're stored in a translation for a non-existing language, or something.

This can be avoided by setting the language to und.

I'm wondering if it would make sense to support an explicit x-default in the exported files, not sure what's the best way to deal with it, the easiest might be string placements on "x-default", or maybe a larger pattern before unserializing it, but also hacky.

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

1 participant