led24ee Posted October 25, 2019 Posted October 25, 2019 Is there any good reason why there is two catalogue in root/themes catalog ? One is niara and then it is also Niara. Can this cause any problems with theme ? edit: as this had nothing to do with the other topic, I moved it here.
SLiCK_303 Posted October 25, 2019 Posted October 25, 2019 50 minutes ago, led24ee said: Is there any good reason why there is two catalogue in root/themes catalog ? One is niara and then it is also Niara. Can this cause any problems with theme ? thats a new one, wonder how that happened. I can only assume it would cause problems someplace down the road. the only two folders that should be in the /themes folder is niara and community-theme-default, both lower case. Are there any files in the Niara folder?
led24ee Posted October 25, 2019 Author Posted October 25, 2019 Ok. This is complicated. I have no idea yet how this come. But Niara catalog has only 3 folder, while niara has all. Niara has folders : lang, modules,pdf.
SLiCK_303 Posted October 25, 2019 Posted October 25, 2019 ok....and did you do any translations on niara from the BO?
led24ee Posted October 25, 2019 Author Posted October 25, 2019 Yes. I'm trying to translate, but there are many items, what stays still in english. I try to explain. If You export language pack you got file named (languange code).gzip And for me it is really easy to modify items in this file (with 7-zip) and then pack all items again in this file and then import this file.Now there are many sections in this file. translations for emails, for pdf, etc, shortly all, even tabs. And this is fro PS time. Now there are themes catalog in this gzip file. All these translated items begin with the same code. For example module blocksocial is following $_MODULE['<{blocksocial}prestashop>blocksocial_f5d5fbc8332317546cbeb037592e2902'] = 'test'; and this word test is what you see. But. This row contains also theme name. And now I found out that in my case even if the file is in gzip under section themes/niara/modules/blocksocial/translations it still has prestashop instead of niara. Actual row is from fresh install. Is this some kind of error or have I made something wrong ?
SLiCK_303 Posted October 25, 2019 Posted October 25, 2019 they are supposed to say prestashop. I assume its for compatibility reasons.
led24ee Posted October 25, 2019 Author Posted October 25, 2019 Ok. These module translations inside this gzip are in many places. One of them is also in root/themes and in this case there is prestashop instead of theme name. I try with different theme names.
led24ee Posted October 26, 2019 Author Posted October 26, 2019 There's still something wrong. Even fresh install shows in translation section (Localization - Translations) that this phrase is translated, but actually TB uses/shows in english. Talking about for example Back Office translations.
SLiCK_303 Posted October 26, 2019 Posted October 26, 2019 2 hours ago, led24ee said: There's still something wrong. Even fresh install shows in translation section (Localization - Translations) that this phrase is translated, but actually TB uses/shows in english. Talking about for example Back Office translations. Sounds like a caching issue to me, clear your site cache and browser cache. we are talking about so many different problems and jumping around so much it's hard to help you. On a virgin install of 1.1.0 there are 2 folders inside the /themes folder, niara, and community-theme-default, if there is a Niara folder I recommend you do a backup of it, then delete it.
led24ee Posted October 26, 2019 Author Posted October 26, 2019 I deleted this Niara folder, I switch off all cache, I deleted/emptied all cache. Nothing helps. Looks like I need new host for my domain. Honestly, I'm really tired of this. This is many weeks, before I ask here. Thanks for help.
netamismb Posted October 30, 2019 Posted October 30, 2019 I am using niara theme and have translated all without issue. Thus, didn't use the backoffice, just add the missing translation directly in the files.
led24ee Posted December 12, 2019 Author Posted December 12, 2019 Looks like I found out what happened. I imported email translations with language file. There were only translated files. Now if I check these on BO then TB creates or copies also english version, but then not in folder niara but Niara. If i add english versions also to this gzip file (near to translated versions) then this Niara folder was not created.
Kashir2000 Posted December 12, 2019 Posted December 12, 2019 Created issue and pull request for this. Fix is here: https://github.com/thirtybees/thirtybees/pull/1125 Hope I did it good 🙂 Haven't made a pull request yet ^^
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now