Other language then English

15 posts / 0 new
Last post
jagran
jagran's picture
Other language then English

I want to use the theme (CarDealer) in another language. For the drupal interface I can find .po files for translations off the modules. Are there .po files for the translation of the theme as well? When I bought this theme there were flags of different countries (as shown in this link) so I thaughed the theme supported internationalization.
Or do I have to manually translate the whole theme and buttons?

Thanks for the information!

support
support's picture
Hi there Jagran:

Hi there Jagran:

The whole site can be translated. But there are a few things that are directly on the views, the Car attributes and few others that need to be translated right where they are.

Translating the Car fields: https://www.youtube.com/watch?v=no4kfGX7uxw&index=26&list=PLtB1ktcnJ7IV8...

And the currency change, right here: https://www.youtube.com/watch?v=KiYAPx9FUEo&index=25&list=PLtB1ktcnJ7IV8...

Let me know if you need further help.

Best!!!

peerapong
peerapong's picture
Question about car attributes translation

Hello,

Base on what I'm understand, the car attributes is created from Taxonomy

Can I use the i18n module to translate the car attributes, instead of change it directly?

https://www.drupal.org/node/1114016

support
support's picture
Hi there Peerapong:

Hi there Peerapong:

You can, but I would only suggest to do so if you were going to make a multilingual site.

Best!!!

jagran
jagran's picture
Hello

Hello

Thanks for your reply. I saw the movies before.

But if I understand correctly there are no .po files available to import or at the installation start-up there is no translation on ftp.drupal.org of the car dealer profile? I have to manually translate the car dealer interface myself I guess? If so - I'll get started right away.

Best regards

jagran
jagran's picture
Almost finished translations

I managed to translate everything in views and taxonomy to get my site launched. There is only one thing I can't find and that's when you go to 'browse cars':
"Refine your search"
"Organize the results"
Where can I find these fields??

Thanks for your help!
Warm Regards

support
support's picture
Hi there Jagran:

Hi there Jagran:

Go for the file \sites\all\themes\cars_dealer\templatesviews-exposed-form--browse-cars.tpl.php

There are both strings.

Best!!

dw
dw's picture
I jump in on this question as

I jump in on this question as i am also translating this theme. Are there any other tpl.php files that i need to edit?
Somehow i just can't find a way to change the text on the car contact form, this is with the strings "i am interested on the" and the button "send message to dealer".

support
support's picture
Hi DW:

Hi DW:

For the Message specifically, go for the file sites/all/themes/zen/js/contactMessage.js

In the case of the strings included in all the WebForm components, go to Admin -> Find Content and search for the Webform node. Just filter by WebForm content type. Once you have it, click the upper right tab called WebForm and there you will find all the fields with their properties, including the "Send Message to Dealer" Box, the submission confirmation message, the labels.... everything.

Best!!!!

dw
dw's picture
Got it! thanks, now i am only

Got it! thanks, now i am only stuck with these strings, Displaying 1 - 7 cars of 7 total matching current filters.
and the "explore more cars" and "other cars". Also i would like to know if the view details text can be changed.
After this, my site should be ok to go on air :)
Then again, i have a question about placing the logo but will start another topic on that one.
Regards,

DW

support
support's picture
Hi there DW:

Hi there DW:

About the strings:

" Displaying 1 - 7 cars of 7 total matching current filters. " - It is right on the middle column of the View Edit Panel in the HEADER and FOOTER.

"explore more cars" - Edit the View, it is right in the HEADER.

"other cars". - Edit the View, it is right in the HEADER.

Best!!!!

dw
dw's picture
Somehow i keep getting the

Somehow i keep getting the string miles in the 3 footer blocks. This is even if i have renamed miles to something else, but still using the miles_field. The same is ok for all the other strings but the name miles keeps getting back. Any thoughts on this?

Regards,

DW

support
support's picture
Hi there DW:

Hi there DW:

Just go to edit the View and edit the "Global: Custom Text" field right at the end of all fields.

There you will find all the strings you may need to change. :)

Best!!!!!!

scorpio40
scorpio40's picture
Make string translatable

You can make these string translatable on "views-exposed-form--browse-cars.tpl.php":
On row 33 you will see <h4>Search for a Property</h4>
Change it like this: <h4><?php print t("Search for a Property"); ?></h4>
Same on row 56: <h4><?php print t("Organize the results"); ?></h4>
And then you will be able to translate the strings in what you want languages at yoursite.com/admin/config/regional/translate/translate

jagran
jagran's picture
Solved

Thanks - perfect!
Thanks for your help.

Log in to post comments