stig-mikkelsen

Mar 27th, 2017 01:39 PM

Hi! Im looking to translate the script to norwegian. As far as I can see, i will need to translate "Login / Register", "search", "save/saves", "check it out" to make my site seem norwegian. Is there a language file? Not sure about the search results page, as search does not seem to be working on my site. www.quadcopter.no

Also, the currency is now displayed "$xxx", i would like it to be displayed "xxx,-".

Thank you! :)

mark

Mar 27th, 2017 02:41 PM

This is currently on top of hour todo list for Voyager to get better language support. We will hopefully have this soon and then you should be able to translate it with no problem. However if you can't wait you will need to modify the views in order to do this.

devdojo

Mar 27th, 2017 11:02 PM

Hi Stig-mikkelsen,

You can change this on line 34 inside of resources/views/themes/white/product/read.blade.php

<h4 class="price">${{ $product->price }}</h4>

Let me know if that helps :)

Thanks.

stig-mikkelsen

Mar 28th, 2017 03:54 AM

Aready did! Added "kr" before and ",-" after, worked well. The only lines of text i cant seem to find now are the green popups related to logging in, editing password etc, and the text "search" in the search field. Also, the search function seems do be dead for some reason? Cant type in the search field.. Other than that, the front end is fullt translated to norwegian!

devdojo

Mar 29th, 2017 09:52 PM

Hey @Stig-mikkelsen,

You should be able to find those texts inside of app/Http/Controllers/UserController.php lines 25 and 38 :)

I see that the functionality for search is working fine, if I search for mavic, I get results like this page: http://www.quadcopter.no/search?search=mavic

The text for the search will be in resources/views/themes/default/home.blade.php

Let me know if that helps :)

Thanks.