Change culture of existing content...
# help-with-umbraco
c
Hi there, I could swear I saw a link to this just recently but cannot for the life of me find it now. I have a site that's been (wrongly) created in the default English culture, but now we need to change this to the actual language (Danish) and create the (correct) English content. How can I change this for the existing content without having to go SQL scripting the database?
y
Hello @Chriztian Steinmeier , I have a small solution maybe that can help you. For me in my projects I still using the ResourceTxt file, You can define the Langueges like: in the english file : Hello :Hello in the Danish file: Hello : Hej that mean you define the words inside the two files under the same name and on the change culture the language will be changed. and you can call it by : YourProjectName.TheFolderThatYouSaveTheFilesInsideIt.ResourceTxt.YourWord in my project : MyProject.Resource.Resource.Hello Bach MyProject.Resource.Resource.Bach ------------------------------------------------- MyProject.Resource.Resource.Hellow // english -> Hello MyProject.Resource.Resource.Hellow // Danish -> Hej
I wish that can answer your question
k
uSync all the things 😉 - one quick hack is to do a search and replace in uSync content config files then sync, it will write all the content into the new language.
r
If you haven't created the new Language yet you should just be able to edit the existing one in the backoffice and change the culture
3 Views