×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: joomfish not translating joomlacomment

joomfish not translating joomlacomment 15 years 9 months ago #2446

  • gaijinhosue
  • gaijinhosue's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi

I have the languages in joomlacomment set to auto-detect but when changing languages with joomfish (Japanese and English) nothing changes. The language is always in English

joomla 1.5.9
joomfish 2.0.1
comment 3.26
sh4040sef 1.0.19_Beta

Thanks in advance

joomfish not translating joomlacomment 15 years 9 months ago #2448

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
What is the name of the Japanese file?

joomfish not translating joomlacomment 15 years 9 months ago #2450

  • gaijinhosue
  • gaijinhosue's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thanks for the quick reply
I am not sure I understand, which Japanese file is that?
The joomla core language file?

joomfish not translating joomlacomment 15 years 9 months ago #2451

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
perhaps joomfish expect a file that is called japanese and the jocomment file is called something else and that is why it is not working.

joomfish not translating joomlacomment 15 years 5 months ago #4493

  • Helari
  • Helari's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
I have the same problem - when language is set to auto-detect, joomlacomment displays always english.

As I understand, Joomfish expects en-GB (or any other language code) files, but in joomlacomment the language file is english.php

Is there any solution for this problem?

I am using
Joomla 1.5.11
Joomfish 2.0.3
!JoComment 4.0 alpha3

joomfish not translating joomlacomment 15 years 4 months ago #5352

  • Mimoun
  • Mimoun's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi,

1 go to the folder : joomlacomponentscom_commentjoscomment
2 open the file utils.php with a text editor
3 look for this expression : $language = 'english.php';

you will find something like that:
***********************************************************************
case 'ar-DZ':
$language = 'arabic.php';
break;
case 'bg-BG':
$language = 'bulgarian.php';
break;
case 'ca-ES':
$language = 'spanish.php';
break;
case 'cz-CZ':
$language = 'czech.php';
break;
case 'da-DK':
$language = 'danish.php';
break;
case 'de-DE':
$language = 'germanf.php';
break;
case 'el-GR':
$language = 'greek.php';
break;
case 'en-GB':
$language = 'english.php';
break;
case 'es-ES':
$language = 'spanish.php';
break;
case 'eu-ES':
$language = 'spanish.php';
break;
case 'et-EE':
$language = 'estonian.php';
break;
case 'fa-IR':
$language = 'farsi.php';
break;
case 'fr-FR':
$language = 'french.php';
break;
case 'he-IL':
$language = 'hebrew.php';
break;
case 'hr-HR':
$language = 'hrvatski.php';
break;
case 'hu-HU':
$language = 'hungarian.php';
break;
case 'it-IT':
$language = 'italian.php';
break;
case 'mn-MN':
$language = 'mongolian.php';
break;
case 'ja-JP':
$language = 'japanese.php';
break;
case 'nl-NL':
$language = 'dutch.php';
break;
case 'pl-PL':
$language = 'polish.php';
break;
case 'pt-BR':
$language = 'brazilian_portuguese.php';
break;
case 'pt-PT':
$language = 'brazilian_portuguese.php';
break;
case 'ro-RO':
$language = 'romanian.php';
break;
case 'ru-RU':
$language = 'russian.php';
break;
case 'sr-RS':
$language = 'serbian_lat.php';
break;
case 'sk-SK':
$language = 'slovak.php';
break;
case 'sv-SE':
$language = 'svenska.php';
break;
case 'zh-TW':
$language = 'chinese_traditional.php';
break;
case 'vi-VN':
$language = 'vietnamese.php';
break;
case 'uz-UZ':
$language = 'uzbek.php';
break;
default :
/* try itself : if not english will be taken */
break;
***********************************************************************
4 what you have to do now is to add these lines into the list above:

case 'xx-xx':
$language = 'your_language.php';
break;


xx-xx = the symbol of your language (like ar-DZ for Arabic, en-GB for English,...)
your-language.php = (like arabic.php, english.php,...)

don't forget to save your changes...good luck

joomfish not translating joomlacomment 15 years 4 months ago #5370

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Mimoun can we add this to beta2?

joomfish not translating joomlacomment 15 years 4 months ago #5399

  • Mimoun
  • Mimoun's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi,

I have tested this method with JoomlaComment 4.0 beta1 using my language wich is arabic and it worked.
I guess it will work with other versions of JoomlaComment.


In my last replay, the path of the file wich has to by modified may be not clear.
so, here it is again:
C: -> xampp -> htdocs -> joomla -> components -> com_comment -> joscomment -> utils.php

joomfish not translating joomlacomment 15 years 2 months ago #6363

  • Heng Sovann
  • Heng Sovann's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Great thank for your replaying Mimoun,
joomlacomment and joomfish language switching was solved!
:)

I have another question about Kunena and Joomfish.
I know that I should not post my question here, but the problem is so similar

I have translate to my language khmer.php and put it in
...administratorcomponentscom_kunenalanguage
at the front end while I use language selection of joomlish
to switch to my khmer language or chinese it is still english

Could anyone help me?

hengsovann(dot)gmail.com

www.ratanakiri-coffee.com/vogel
  • Page:
  • 1
Time to create page: 0.115 seconds