Home › Forums › WoodMart support forum › обновление темы
обновление темы
- This topic has 12 replies, 2 voices, and was last updated 4 years ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
April 22, 2020 at 7:39 pm #189254
Cratos53516ParticipantОбновил тему до последней версии и пропали,которые я загружал ранее,из-за чего такое может быть?
April 22, 2020 at 7:40 pm #189256
Cratos53516ParticipantОбновил тему до последней версии и пропали переводы на русский язык,которые я загружал ранее,из-за чего такое может быть?
April 23, 2020 at 6:43 am #189327
Aizaz Imtiaz AwanKeymasterHello,
Theme translations would be lost when you update the theme. That’s why we always Recommend to take a complete backup of the website before updating the theme.
Have you made the full backup of the site? If yes, restore the site from the backup, move your translations to folder wp-content/languages/themes/
And then update the theme.
Best Regards.
April 23, 2020 at 10:51 am #189401
Cratos53516ParticipantМожет быть вы имели ввиду,забрать файлы переводов из резервной копии,а потом после обновления темы их снова загруить?Просто с ваших слов получается мне сейчас нужно сначала загрузить файлы в папку wp-content / languages / themes / и опять обновить тему,откуда они снова пропадут:DDD
April 23, 2020 at 12:30 pm #189432
Aizaz Imtiaz AwanKeymasterHello,
Sorry for the Misunderstanding. Let me explain again. Let’s take an example you are using English for US language on your site, and the language files are en_US.po and en_US.mo, Now rename those files as woodmart-en_US.po and woodmart-en_US.mo and place those language files under wp-content/languages/themes It will not be overridden again when ever you will update the Theme same as for other languages you are using.
Best Regards.
April 23, 2020 at 6:55 pm #189512
Cratos53516ParticipantЯ когда делаю как вы говорите и помещаю файлы в папку /www/luxuryclothes.ru/wp-content/languages/themes/ перевод не работает,он работает только в папке /www/luxuryclothes.ru/wp-content/languages/.Еще я заметил что если я в плагине loco translate создаю перевод в паку languages/loco/themes/,то он начинает работать корректно,но при обновлении плагина опять перевод перестает работать.Я понимаю о чем вы говорите,но оно так не работает(( Файл как вы и говорили переименовываю в формат woodmart-ru_RU
April 24, 2020 at 5:45 am #189578
Aizaz Imtiaz AwanKeymasterHello,
If you are using Loco translate plugin then simply upload or set path of your Theme languages files as
wp-content/languages/loco/themes
then it will not be override or remove when ever you will update the Theme or plugin and if this is not working for you then please share your site WP Admin Login details in a private content area of this topic so that I’ll check it for you and also if possible please share the screenshot of the issue as well.Best Regards.
April 24, 2020 at 7:26 am #189601
Cratos53516ParticipantСкрины м.б позже предоставлю,да и судя по всему вы поняли проблему,что там скринить,при помещении файла в wp-content/languages/loco/themes файлов перевода,после обновления темы они не работают
April 24, 2020 at 10:30 am #189645
Aizaz Imtiaz AwanKeymasterHello,
I have setup the translation files for you on your site, now you will never lose this translation after the theme update:
https://luxuryclothes.ru/wp-admin/admin.php?path=languages%2Floco%2Fthemes%2Fwoodmart-ru_RU.po&bundle=woodmart&domain=woodmart&page=loco-theme&action=file-editEven you can update the theme and plugins both.
Best Regards.
April 24, 2020 at 11:01 am #189652
Cratos53516ParticipantАААА,спасибо,как так?я пробовал также размещать файлы,но ничего не работало,как так?Щас все просто огонь!опишите какие действия вы сделали в самом плагине loco translate пожалуйста.И еще ru_RU.po и ru_RU.mo файлы в папке /www/luxuryclothes.ru/wp-content/languages/ вы тоже оставили,наверное без них не работало?Если удалить их и оставить только файлы переводов woodmart-ru_RU в wp-content/languages/loco/themes то переводы работать не будут?
April 24, 2020 at 11:34 am #189658
Aizaz Imtiaz AwanKeymasterHello,
These translation files woodmart-ru_RU in wp-content/languages/loco/themes will work fine even if you delete the other files from www/luxuryclothes.ru/wp-content/languages.
I have just go to Loco >> Themes >> Woodmart >> Edit the language >> go to the Location tab >> and select the custom location for the language files which plugin automatically rename the ru_RU.po and .mo files into woodmart-ru_RU.po and .mo files.
Best Regards.
April 24, 2020 at 5:52 pm #189769
Cratos53516ParticipantБольшое спасибо!А у вас много человек в тех поддержке работают,если не секрет.Я просто всегда вижу что ты мне отвечаешь и Elise Noromit.Только вы вдвоем на вопросы отвечаете или у вас разные люди под одними и теми же никнеймами отвечают?
April 25, 2020 at 4:45 am #189817
Aizaz Imtiaz AwanKeymasterHello,
We have a team of support, and all are different peoples.
Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Have a wonderful day.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register