Post by Barend » Thu Jan 07, 2021 5:52 pm

I have a module of a payment-organisation (SiSow) that has to be installed by just extracting the files manually (so no mod).
The dutch translation files at some point are untranslated (they contain English text). So I translated them and uploaded them to the server, overwriting the initial Sisoq files. But the texts are still English. Although I have cleared al caches.

Did I miss something or is there another explanation?
Last edited by Barend on Sat Jan 09, 2021 5:12 pm, edited 1 time in total.

New member

Posts

Joined
Wed Jan 06, 2021 8:13 pm

Post by IP_CAM » Thu Jan 07, 2021 6:06 pm

Did I miss something or is there another explanation?
Yes, you missed to link that 'Extension', you seemengly use, as
well as mentioning your exact OC Version and Theme used, in each and
every Posting you make .... ??? In addition to place such postings in the
correct matchig Forum Subsection. It's sure not a 'general' matter ...
And language files should not be overwritten, but a copy of them should
be translated, and then placed in the matching language section.

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by JNeuhoff » Thu Jan 07, 2021 7:13 pm

Language files aren't cached by OpenCart, unless an extension modifies an existing language file via OCmod/VQmod.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by OSWorX » Thu Jan 07, 2021 7:22 pm

Barend wrote:
Thu Jan 07, 2021 5:52 pm
Did I miss something or is there another explanation?
First: Yes. Boring always to mention the same things: viewtopic.php?f=176&t=53294
Second: as already mentioned before, language files are not cached.
But, each required Language has to be installed (no matter if used later or not), because otherwise translationa re not used.
E.g. standard (default) is English.
Now you want to use Dutch (somewhere), you have to install the language pack and define the correct settings.
Therefore you will have now 2 subfolders inside your language folder (important here which OpenCart Version you are using!!), they could be (depending on the installed version) english & dutch, or en_GB & nl_NL or en-gb & nl-nl (last one is the current used and finally correct).

And you have to copy your dutch files into the dutch folder.
Simply - isn't it?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Barend » Thu Jan 07, 2021 8:07 pm

@IP_CAM: Sorry about that.

Version: 3.0.3.6
Theme: Default
Link to 'Extention': https://www.sisow.nl/wp-content/uploads ... -5.4.5.zip
(the documentation inside the zip explains you should just unzip it over the existing folders)

New member

Posts

Joined
Wed Jan 06, 2021 8:13 pm

Post by OSWorX » Thu Jan 07, 2021 8:26 pm

Beside the fact that this Extension does not use the default installer function (shame on them), to translate those few items which are in English currently, edit them with the integrated Language Editor - assuming that you have installed Dutch as second language.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Barend » Thu Jan 07, 2021 11:03 pm

I understand that the language data among other things are cached inside the storage-folder.
Is there a way to clear that cache? Or to recreate it?
(The recreate cache function the the backend is not enough)

New member

Posts

Joined
Wed Jan 06, 2021 8:13 pm

Post by Barend » Thu Jan 07, 2021 11:58 pm

I've fixed this somehow.

I don't understand why Sisow doesn't make a ocmod of the installation.
- An install.xml in the root of the zip (with metadata, no further actions needed)
- The filename should be named *.ocmod.zip

Am I right that is all that is missing?

New member

Posts

Joined
Wed Jan 06, 2021 8:13 pm

Post by straightlight » Fri Jan 08, 2021 12:07 am

Barend wrote:
Thu Jan 07, 2021 11:58 pm
I've fixed this somehow.

I don't understand why Sisow doesn't make a ocmod of the installation.
- An install.xml in the root of the zip (with metadata, no further actions needed)
- The filename should be named *.ocmod.zip

Am I right that is all that is missing?
- Regarding the install.xml file, no further actions needed may depend on the extension being installed and used. Which is why, we have OCMod logs.
- As for the ending filename of OCMod ZIP files installer, that'd be correct.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by OSWorX » Fri Jan 08, 2021 5:37 pm

Barend wrote:
Thu Jan 07, 2021 11:58 pm
I've fixed this somehow.

I don't understand why Sisow doesn't make a ocmod of the installation.
- An install.xml in the root of the zip (with metadata, no further actions needed)
- The filename should be named *.ocmod.zip

Am I right that is all that is missing?
Simplier: just create a zip-file if the folders and name e.g. sisow.ocmod.zip
The install.xml is not needed in this case - only when there should be made some modification via the integrated OCMod.

Having then such a package, simply open the integrated Installer, call this package .. and you are ready to use it.
And because no modifications are made, no files are cached.

Why Sisow is not creating an installable package?
This is always the same, such vendors do something without really knowing what they are doing.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 144 guests