Page 1 of 1

Not all translated objects get translated

Posted: Fri Oct 07, 2016 5:17 pm
by jornmo
Hello!

I'm running a OC 2.3.0.2 installation with the latest Norwegian translation from crowdin. There are several places in both backend and frontend where the english translations are still showing. For example the backend main menu, all menu entries are english, but the common/menu.php file is all Norwegian.

In the frontend at e,g. the cart, it uses neither English nor Norwegian at certain places. It says entry_coupon and entry_voucher.

How can this be.

Re: Not all translated objects get translated

Posted: Tue Oct 11, 2016 4:27 am
by cyclops12
Are all the language files uploaded correctly
entry_coupon and entry_voucher are normally in language/YOUR_LANGUAGE/extension/total/

as for the admin, have you a screenshot of incorrect translations

EDIT: looking at the norwegian language download from crowdin it doesnt appear to have the catalog/language/no-NO/extension folder which may be why it only says its 61% translated

Re: Not all translated objects get translated

Posted: Tue Oct 11, 2016 6:28 pm
by jornmo
Your right, that folder does indeed seem to be missing! It says 61% because the rest is commercial extensions that we normally do not use. All the important parts are 100%. Here's a screenshot from the backend. As you can see there are some parts in English and some Norwegian...
norsk-engelsk-opencart.jpg

norsk-engelsk-opencart.jpg (201.27 KiB) Viewed 2750 times

norsk-engelsk-opencart2.jpg

norsk-engelsk-opencart2.jpg (108.41 KiB) Viewed 2750 times


Re: Not all translated objects get translated

Posted: Tue Oct 11, 2016 6:31 pm
by jornmo
How can we get the catalog/language/no-NO/extension folder into crowdin?

Re: Not all translated objects get translated

Posted: Tue Oct 11, 2016 10:51 pm
by cyclops12
That language file (no-NO) seems to be for earlier versions and not latest 2.3.0.2
You will need to make quite a few changes to get it all working properly.
I think most of the translations are actually in there but they are in different folders and have different filenames to 2.3.0.2

Re: Not all translated objects get translated

Posted: Wed Oct 12, 2016 6:19 pm
by jornmo
That should exlpain it. I do not seem to have rights to do anything structure wise with the transaltion. Who has the proper administrative rights?

Re: Not all translated objects get translated

Posted: Wed Oct 12, 2016 6:55 pm
by cyclops12
Once you have the language pack downloaded you would need to compare all the files and folders with the default en-gb language folder and change them as you need

Re: Not all translated objects get translated

Posted: Thu Oct 13, 2016 4:34 pm
by jornmo
But, it should be possible to get the crowdin structure up to date??

Re: Not all translated objects get translated

Posted: Thu Oct 13, 2016 4:48 pm
by cyclops12
I guess that would be up to the developers at crowdin.

Re: Not all translated objects get translated

Posted: Thu Oct 13, 2016 6:45 pm
by jornmo
OK! Thank you for the help O0

Re: Not all translated objects get translated

Posted: Thu Oct 13, 2016 11:33 pm
by cyclops12
I did notice in the no-NO language/common folder you will have a "menu.php" file.
This has most of the common admin translations in it, but you would need to re-name it to column_left.php for it to work.
That should help you out a bit ;D

Re: Not all translated objects get translated

Posted: Fri Oct 14, 2016 4:53 pm
by jornmo
Yes, thanks! That does help quite a bit! Thank you for helping!

Re: Not all translated objects get translated

Posted: Fri Oct 14, 2016 11:44 pm
by cyclops12
No problems, happy to assist.

If you need any others then its just a matter of finding them and putting them in the correct place, you could compare them with the default en-gb folder to see where they should be

Re: Not all translated objects get translated

Posted: Mon Oct 24, 2016 6:24 pm
by jornmo
Yes, that will do for now :) But, it would be very good if the crowdin page was keeping up with the current OC2 files. I've asked them to let me do it, but my question remains unanswered for two weeks. Only time will show what happens O0

Re: Not all translated objects get translated

Posted: Sat Jan 28, 2017 4:56 pm
by Freakshow
jornmo wrote:Yes, that will do for now :) But, it would be very good if the crowdin page was keeping up with the current OC2 files. I've asked them to let me do it, but my question remains unanswered for two weeks. Only time will show what happens O0
jornmo, have you done the changes so that it works well for NO.- OC2.3.0.2?
If you have, would it be possible to get the zip file? :)