Post by mpsoft » Mon Jan 22, 2024 2:53 am

Hi there

I need Danish as my eShop ( Version 4.0.2.3 )Language, so i started this translating task.

1# Coming to info/contact. The form will not validate (name, email and/or message) on sending,
2# And ?route=account/register&language=da regardless if all inputs are correct it fails.. So i seams all form is failing?

Do some one have some pointers or is this a bug? There is no errors in the error.log (all debug is on)

Thanks in Advance ;)

Br. Martin
Last edited by mpsoft on Mon Jan 22, 2024 10:58 pm, edited 1 time in total.

User avatar
Newbie

Posts

Joined
Sun May 22, 2011 8:59 pm
Location - Denmark

Post by straightlight » Mon Jan 22, 2024 6:08 am

mpsoft wrote:
Mon Jan 22, 2024 2:53 am
Hi there

I need Danish as my eShop ( Version 4.0.2.3 )Language, so i started this translating task.
Coming to info/contact. The form will not validate (name, email and/or message) on sending,

Do some one have some pointers or is this a bug? There is no errors in the error.log (all debug is on)

Thanks in Advance ;)

Br. Martin
If all debugs were on, you would know what and where to look. See your server error logs and your developers kit on your browser when submitting the form for any errors. Also switch back to the en-gb version and see if you can reproduce the issue.

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 mpsoft » Mon Jan 22, 2024 6:39 am

Did you miss that part where I wrote there is no error in any logs… ?

User avatar
Newbie

Posts

Joined
Sun May 22, 2011 8:59 pm
Location - Denmark

Post by ADD Creative » Mon Jan 22, 2024 5:25 pm

Does the default english still work? Have you used the web browser developer tool network tab to check the data being submitted is correct?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by mpsoft » Mon Jan 22, 2024 7:42 pm

Yes the default english is still working
and yes iam using web browser developer tool network tab - and still not even close to find the issues :-/

M

User avatar
Newbie

Posts

Joined
Sun May 22, 2011 8:59 pm
Location - Denmark

Post by xxvirusxx » Mon Jan 22, 2024 11:57 pm

How danish language was installed? Uploaded on FTP?

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by mpsoft » Tue Jan 23, 2024 4:21 am

It like this:

I working directly on the server- so basically just copy one file a time. So the file format should be ok..

M

User avatar
Newbie

Posts

Joined
Sun May 22, 2011 8:59 pm
Location - Denmark

Post by xxvirusxx » Tue Jan 23, 2024 4:30 pm

4.0.2.3 languages installation doesn't work like old oc versions.....to just uploading using FTP, then enabled from localisation...

Check language example from here
https://github.com/opencart/opencart/tr ... arketplace

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by mpsoft » Wed Jan 24, 2024 4:22 pm

Well now spend 6-8 hours by going with the Extensions way.. no i don´t even the Danish as a option.
Clone the examle lang. (German). fixed Classes and lang. files, uploaded it, installed it.. Did not worked.

And even trying to USE the example, forms are failing (First Name must be between 1 and 32 characters!) ...

please friends i don't want to waste my time with randown suggestions, does anyone know what the problem is then please write otherwise please don't

User avatar
Newbie

Posts

Joined
Sun May 22, 2011 8:59 pm
Location - Denmark

Post by ravikumar22 » Thu Feb 08, 2024 7:43 pm

Hi ,

I have face such problems. some time some character in other language make problem while submitting the data database. Except english langugage.
You can try following way.
1. Change character of danish language some word. which you think is seems making problem
2. Normally we change the format of text to "UTF-8 BOM". I am not sure but your danish language word should support UTF-character.
please make sure to check that. or use online UTF converter. https://www.browserling.com/tools/utf8-encode something like that.
3. if you still facing issue. feel free to reply this post. contact me: at: https://devinlabs.com/

Image
:) :D :( :o OpenCart Support | Please email at: devinlabsolutions@gmail.com , info@devinlabs.com :drunk: :laugh: :)


User avatar
New member

Posts

Joined
Sun Apr 12, 2015 6:33 am

Post by paulohsrocha » Thu Jul 25, 2024 12:41 am

I managed to solve it, it's very simple!

When adding another language and using SEO URL, Opencart does not create the SEO URL for this new language.

In Panel > Design > SEO URL I added the SEO for my language, in my case pt-br, it looked like this:

Key: language
Value: pt-br
Keyword: pt-br
Sort Order: -2

I hope it helps anyone who needs it.

Newbie

Posts

Joined
Wed Jul 24, 2024 10:55 pm
Who is online

Users browsing this forum: No registered users and 0 guests