Author Topic: Where to translate the frontend?  (Read 639 times)

vldesign

  • Newbie
  • *
  • Posts: 2
    • View Profile
Where to translate the frontend?
« on: April 12, 2012, 02:37:32 PM »
Hi,

I have try to translate the frontend, but don't find the files. I have found the files for the backoffice, but not the frontend.

When I change the language from English to Danish it only translate the backoffice and not the frontend.

What to do, and where to go?

Thanks

vldesign

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Where to translate the frontend?
« Reply #1 on: April 13, 2012, 01:36:01 AM »
Ok, I found some phrases where hard coded, so I translate in the code itself. Other are not hard-coded, but I don't know where they are so I translate in the code.

Only one I can't find the file where this is displayed: Only registered users may post a comment

Where to translate this and if it is not hard-coded, what is the variable of it and the file, so I can translate it in the code itself?

Thanks

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Re: Where to translate the frontend?
« Reply #2 on: April 28, 2012, 11:58:21 PM »
Hi,

I am currently in the process of moving all the old translations and hard coded string into Joomla language .ini files.
that string is probably in on of these files:
www/administrator/components/com_simple_review/addons/modules/Locale_Module/languages/en-GB/Comment_Module.php
www/components/com_simple_review/templates/commentform/

If possible I would recommend against investing too much time in this until version 4.0.
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

mailo

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Where to translate the frontend?
« Reply #3 on: January 12, 2013, 10:38:27 AM »
Hi!
I just updated simple-review from 3.0.9 to 3.0.10 via FTP.
This update has overwritten my locale files (Locale_Module.php and Review_Module.php files).
I have translatted these files into my language, and now they are gone.
It took me some time to find problem, and copy my translated files on it's place.
I figured out, that there is only one line change in line 30 of Locale_Module.php.
Is it worth overwritting old file?
How to avoid this problem with translated files in the future?

CamKrist

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Where to translate the frontend?
« Reply #4 on: January 24, 2013, 11:54:05 PM »
I sent you in pm
I'm on Twitter (http://twitter.com) and my essay (http://primewritings.com)

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Re: Where to translate the frontend?
« Reply #5 on: January 25, 2013, 08:55:21 PM »
Hi!
I just updated simple-review from 3.0.9 to 3.0.10 via FTP.
This update has overwritten my locale files (Locale_Module.php and Review_Module.php files).
I have translatted these files into my language, and now they are gone.
It took me some time to find problem, and copy my translated files on it's place.
I figured out, that there is only one line change in line 30 of Locale_Module.php.
Is it worth overwritting old file?
How to avoid this problem with translated files in the future?

In the future make a copy of the 'en-GB' folder and rename it. Then in the configuration select your new language folder.
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

Dagseoh

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: Where to translate the frontend?
« Reply #6 on: April 24, 2013, 01:50:45 PM »
I'm trying to translate the bar with the letters of the alphabet (in category) I can not find the words:

"TITLE" - "RATING" - "RATINGUSER" - "AUTHOR" - "DATE​​".

I also need to find the directory with the dates to translate month names.

I've searched the folders en-GB admin and frontend .....
and already searched the archive: Comment_Module.php .....

not found ... Please if you can show me the file ....
« Last Edit: April 24, 2013, 01:52:43 PM by Dagseoh »

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Re: Where to translate the frontend?
« Reply #7 on: April 30, 2013, 07:40:59 PM »
I'm trying to translate the bar with the letters of the alphabet (in category) I can not find the words:

"TITLE" - "RATING" - "RATINGUSER" - "AUTHOR" - "DATE​​".

I also need to find the directory with the dates to translate month names.

I've searched the folders en-GB admin and frontend .....
and already searched the archive: Comment_Module.php .....

not found ... Please if you can show me the file ....

Which version are you using? If they are not in /administrator/components/com_simple_review/language/en-GB/en-GB.com_simple_review.ini then try com_simple_review/templates/default/category/template.reviewlisting.html.php

For the months, go into the simple review config page and change the date format string in there.
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!