Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 582 posts 922 karma points
    1 week ago
    Dan Evans
    0

    Changing the language of a variant retrospectively

    I have built a site where the default language/culture is en-us in Umbraco 8. This should actually be en-gb. How do i change this without having to manually copy over all of my content?

    Also is it possible to pre-populate variants with English content instead of having to add it all in again? If we have 3 different English versions the vast majority of the content will be the same.

    In U7 we could just copy the site tree and change the culture so both the above were simple to do.

    Thanks

    Dan

  • Kevin Jump 1423 posts 9135 karma points MVP 3x c-trib
    1 week ago
    Kevin Jump
    1

    Hi Dan,

    just did a quick check, because it struck me, but you can do this with uSync.ContentEdition and search and replace.

    so if all your content is in en-us,

    1. install uSync + uSync.ContentEdition
    2. do a full export
    3. add en-gb language to Umbraco (do not make default)
    4. in the usync/v8/content folder search and replace Culture="en-us" with Culture="en-gb" in all files
    5. do an usync import
    6. you will now have the content values in en-gb (the en-us ones will still be there too)
    7. go back to settings -> languages make en-gb default
    8. delete en-us when you are happy)

    Kevin

  • Dan Evans 582 posts 922 karma points
    1 week ago
    Dan Evans
    0

    I'll give it a go! We have uSync installed already. Thanks for this.

Please Sign in or register to post replies

Write your reply to:

Draft