Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Plupload language code reverts to en
Avatar
boborg
Member
sp_UserOfflineSmall Offline
Jun 22, 2012 - 7:27 am

I am seeing an issue where the Plupload language code option is reverted to en and does not stay as da. It does not happen instantly but after a while the upload interface is back to English and the setting inside components of course also. Not sure what triggers it.

Best regards
Bo

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 22, 2012 - 9:15 pm

hmmm... not sure what the delay is... but tried it for a couple hours and it didnt switch on me...  will leave it there overnight...

did you update any more uploads options in the admin?

Avatar
boborg
Member
sp_UserOfflineSmall Offline
Jun 24, 2012 - 12:42 pm

Mr Papa said
hmmm... not sure what the delay is... but tried it for a couple hours and it didnt switch on me...  will leave it there overnight...

did you update any more uploads options in the admin?

I have just tried setting it to da and then update a Wordpress post. When I go back into File Uploader - Settings it has reverted to en. Updating admin options inside the Forum settings does not seem to do it. 

The site is running Wordpress with Danish language file.

Best regards
Bo

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 25, 2012 - 10:44 am

Struggling to find any logical explanation for this. Tell me - does any of the other data on that panel change? Could you perhaps, turn on the option above it (for uploading photos) just to see if that also reverts?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Dietmar Herian
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2012 - 9:00 am

Came across this one while searching for localization of the plupload form.

I did not experience the 'revert back to en' effect, but when I chose 'de' for my case, two buttons left unchanged in English.

Googling the net, I came across this article on the the plupload forum where they show how to change language by code snippet in header. Did it, and guess what - it has the same small problem.

Finally I found that they have a typo in their example: 'Add files' should be 'Add Files' and 'Start upload' should be 'Start Upload'.

With that, it is now perfect - permanently!

Maybe, you could change it in the plugin, too.

"Computers in the future may weigh no more than 1.5 tons."
(Popular Mechanics, US-Technik-Magazin, 1949)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2012 - 5:48 pm

sorry, what did you change?

Avatar
Dietmar Herian
Member
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2012 - 6:41 pm

<script type="text/javascript">
plupload.addI18n({
        'Select files' : 'in your language here',
        'Add files to the upload queue and click the start button.' : 'in your language here',
        'Filename' : 'in your language here',
        'Status' : 'in your language here',
        'Size' : 'in your language here',
        'Add files' : 'in your language here',
    'Start upload':'in your language here',
        'Stop current upload' : 'in your language here',
        'Start uploading queue' : 'in your language here',
        'Drag files here.' : 'in your language here'
});
</script>

In this example code above, I changed the red marked letters to capitals - now reading 'Add Files' and 'Start Upload'.

That fixed it and the button's text is now translated.

for German it looks now like that:

<script type="text/javascript">
plupload.addI18n({
        'Select files' : 'Dateien auswählen',
        'Add files to the upload queue and click the start button.' : 'Dateien der Upload-Auswahl hinzufügen und den Start Button klicken',
        'Filename' : 'Dateiname',
        'Status' : 'Status',
        'Size' : 'Grösse',
        'Add Files' : 'Dateien hinzufügen',
    'Start Upload':'Starte Hochladen',
        'Stop current upload' : 'Aktuelles Hochladen anhalten',
        'Start uploading queue' : 'Starte Upload-Auswahl',
        'Drag files here.' : 'Dateien hierhin ziehen.'
});
</script>

"Computers in the future may weigh no more than 1.5 tons."
(Popular Mechanics, US-Technik-Magazin, 1949)

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 1, 2012 - 4:00 am

Good catch. I have opened a ticket for us to look at this and correct it but I will also try and find some time to today to look at the Moxie site to see if they are in the process of fixing it as well.

Thanks for the detail.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625