Closed Thread
Results 1 to 5 of 5

Thread: [bug] Translation does not work for backend ?

  1. #1
    baijianpeng's Avatar
    baijianpeng is offline Newbie
    Join Date
    Sep 2007
    Posts
    5
    Rep Power
    0

    Exclamation [bug] Translation does not work for backend ?

    Today I downloaded the latest version 3.1 of ionFiles component from this forum. Then I made a Chinese language translation for it and tested it on my local server.

    But I noticed that the backend of ionFiles are all in English language. It seems that my translation did not work at all.

    I checked the file system and found that there is no language folder in the /administrator/components/com_ionfiles directory. Is this the reason?

    Please fix this.

    Thank you.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest
    There is no translations for the administrative side of the component simply because no one has ever made one. If you send me your languages files (attach them here) I'll add them to the next release.

  4. #3
    baijianpeng's Avatar
    baijianpeng is offline Newbie
    Join Date
    Sep 2007
    Posts
    5
    Rep Power
    0

    Smile Chinese translation for ionFiles v3.1

    Ok, attached is the Chinese language translation for ionFiles version 3.1.

    Hope you will improve this component further.

    Thanks.
    Attached Files Attached Files

  5. #4
    baijianpeng's Avatar
    baijianpeng is offline Newbie
    Join Date
    Sep 2007
    Posts
    5
    Rep Power
    0
    Today I downloaded the latest ionFiles version 3.2 and tested it on my Joomla! 1.0.13 with the site language set as Simplified Chinese.

    Even I uploaded my Chinese translations for ionFiles to the correct folder which containing the english.php language file, the backend of ionFiles still show me English face.

    I tried to rename or remove the english language file of ionFiles, then I noticed that all those backend strings turned into untranslated variables. That means ionFiles WILL NOT read those backend language strings from the correct language file according to the site locale settings. It just use the english language file for backend all the time.

    So I think you need to modify some code to let this component pick up the correct language file.

    Thanks.

  6. #5
    Jordan Guest
    I completely forgot to add your language file, I will put it in the next release. In the interim the solution to fix this is:

    in admin.ionfiles.html.php on line 17 change from:

    Code:
    if (file_exists($mos_absolute_path.'/components/com_ionfiles/language/'.$mosConfig_lang.'.php')) { 
    TO:
    Code:
    if (file_exists($mosConfig_absolute_path.'/components/com_ionfiles/language/'.$mosConfig_lang.'.php')) { 
    My earlier statement about how this had not been coded in the backend was incorrect. This has been coded but the path variable was incorrect (above).

    Please let me know if this fixes your problem.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Programming Language Choice for Web Site Backend?
    By leesiulung in forum General Programming
    Replies: 1
    Last Post: 02-19-2011, 05:39 PM
  2. Lost in translation
    By yemen in forum The Lounge
    Replies: 3
    Last Post: 10-14-2009, 08:24 AM
  3. Frontend or Backend doing optimization
    By Termana in forum C and C++
    Replies: 4
    Last Post: 01-09-2009, 06:52 AM
  4. Creating a reusable backend
    By Coldhearth in forum PHP Development
    Replies: 17
    Last Post: 12-08-2008, 07:09 AM
  5. Translation PT BR
    By pchardnet in forum ionFiles
    Replies: 1
    Last Post: 10-01-2007, 06:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts