Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 16. Dec 2017, 05:23

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 18. Nov 2007, 05:55 
Offline

Joined: 18. Nov 2007, 05:50
Posts: 5
I noticed that in the original release package of JFU v2.5.4, there is no Chinese language file in the lang folder for the Flash.

Then I made one based on the en.xml and renamed it to cn.xml. Next I copy my cn.xml to the lang folder beside the en.xml.

Of course my Joomla! 1.0.13 had been set to use simplified_chinese as my site language.

But when I go to the Upload page at backend, the button text on the Flash is still English, not my Chinese translation.

What is wrong? How can I told the Flash to pick up which xml file for simplified_chinese locale settings in Joomla! ?

Do you have any language mapping method to do this job ?

Thanks.

_________________
Chinese Joomla! Users' Portal

http://www.joomlagate.com


Top
 Profile  
 
 Post subject:
PostPosted: 18. Nov 2007, 22:54 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
No chinese language file?

there is a cn.xml included!
In joomla\tfu\lang

and yes there is a mapping

"chinese_traditional" => "cn",
"chinese_simplified" => "cn",

are already defined in
joomla_flash_uploader.class.php

It this not the right mapping?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Nov 2007, 02:06 
Offline

Joined: 18. Nov 2007, 05:50
Posts: 5
TinyWebGallery wrote:
No chinese language file?

there is a cn.xml included!
In joomla\tfu\lang

and yes there is a mapping

"chinese_traditional" => "cn",
"chinese_simplified" => "cn",

are already defined in
joomla_flash_uploader.class.php

It this not the right mapping?

/Michael


sorry, I did not notice that file.

Ok, finally I found the reason why there is one cn.xml file but JFU won't use it.

You had give a wrong name for Chinese language when mapping.

In the file joomla_flash_uploader.class.php, you should edit around line 125 and change the Chinese language name to:

"traditional_chinese" => "tw",
"simplified_chinese" => "cn",

These are the standard name for Chinese language in Joomla! . If you don't have a tw.xml file, I can send one to you.

_________________
Chinese Joomla! Users' Portal

http://www.joomlagate.com


Top
 Profile  
 
 Post subject:
PostPosted: 19. Nov 2007, 09:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
Thanks - i'll change this,

are the language files tw and cn very different?
I don't have a tw one.

If you have a translation it would be great to get it.
It would be even better to get the translations for TFU 2.7 you can find in the forum.
Only a couple of lines more to translate.

Thanks,
Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Nov 2007, 11:11 
Offline

Joined: 18. Nov 2007, 05:50
Posts: 5
Ok, I finished the Chinese translation for TFU 2.6 (I can't find 2.7).

Since I can't attach file here, I sent it to you by e-mail.

I had insert my personal info into the head of the file. If the former translator think that is not appropriate, you can delete that.

Thanks for your efforts and contribution to us Joomla! users.

_________________
Chinese Joomla! Users' Portal

http://www.joomlagate.com


Top
 Profile  
 
 Post subject:
PostPosted: 19. Nov 2007, 11:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
You'll find it here:

#removed_broken_link

Don't use this version for production because I already have 2 small open point that will be fixed this week in beta 2 ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Nov 2007, 11:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
I updated the download link - it's now beta 2 which is fine ;).

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO