1 (edited by nao88 2011-02-23 09:26:37)

Topic: Internationalization (i18n) of the Plupload

Hello i searching all attributes for a language pack but i can't find all like "Add Files „

Re: Internationalization (i18n) of the Plupload

Language packs are located under src/javascript/i18n. Use Dutch translation (nl.js) as an example, as it is the most complete one at the moment. Just fill in entries from your language instead Dutch ones. Do not change english strings.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Internationalization (i18n) of the Plupload

I am searching at the moment all English strings because if i had all strings i could translate all in Germany

4 (edited by nao88 2011-02-23 09:26:13)

Re: Internationalization (i18n) of the Plupload

here the german translation


    plupload.addI18n({
   'Select files' : 'Wählen Sie die Dateien:',
   'Add files to the upload queue and click the start button.' : 'Dateien hinzufügen und danach auf \'Starten des Uploads\' klicken und die Datei hochzuladen.',
   'Filename' : 'Dateiname',
   'Status' : 'Status',
   'Size' : 'Größe',
   'Add files' : 'Hinzufügen von Dateien',
   'Stop current upload' : 'Stop aktuellen Upload',
   'Start uploading queue' : 'Starte Upload',
   'Uploaded %d/%d files': '%d/%d Dateien sind Hochgeladen',
   'N/A' : 'Nicht verfügbar',
   'Drag files here.' : 'Ziehen Sie die Dateien hier hin',
   'File extension error.': 'Dateiendungs Fehler.',
   'File size error.': 'Dateigrößen Fehler.',
   'Init error.': 'Initialisierungs Fehler.',
   'HTTP Error.': 'HTTP Fehler.',
   'Security error.': 'Sicherheits Fehler.',
   'Generic error.': 'Generic Fehler.',
   'IO error.': 'Ein/Ausgabe Fehler.',
   'Stop Upload': 'Stoppen des Uploads.',
   'Add Files': 'Dateien hinzufügen',
   'Start Upload': 'Starten des Uploads.',
   '%d files queued': '%d Dateien in der Warteschlange.'
    });
Kind regards
Arved Cornelsen

Re: Internationalization (i18n) of the Plupload

Great. thanks for sharing smile

If you want to see your issue fixed, do not report it here, do it on - GitHub.

6 (edited by romka 2011-02-13 00:24:14)

Re: Internationalization (i18n) of the Plupload

Hi! This is russian translation:

plupload.addI18n({
    'Select files' : 'Выберите файлы',
    'Add files to the upload queue and click the start button.' : 'Добавьте файлы в очередь и нажмите кнопку "Загрузить файлы".',
    'Filename' : 'Имя файла',
    'Status' : 'Статус',
    'Size' : 'Размер',
    'Add files' : 'Добавить файлы',
    'Stop current upload' : 'Остановить загрузку',
    'Start uploading queue' : 'Загрузить файлы',
    'Uploaded %d/%d files': 'Загружено %d из %d файлов',
    'N/A' : 'N/D',
    'Drag files here.' : 'Перетащите файлы сюда.',
    'File extension error.': 'Неправильное расширение файла.',
    'File size error.': 'Неправильный размер файла.',
    'Init error.': 'Ошибка инициализации.',
    'HTTP Error.': 'Ошибка HTTP.',
    'Security error.': 'Ошибка безопасности.',
    'Generic error.': 'Общая ошибка.',
    'IO error.': 'Ошибка ввода-вывода.'
});

Re: Internationalization (i18n) of the Plupload

Going directly into the bundle! smile

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Internationalization (i18n) of the Plupload

Here's the spanish translation:

plupload.addI18n({
   'Select files' : 'Elija archivos:',
   'Add files to the upload queue and click the start button.' : 'Agregue archivos a la cola de subida y haga click en el boton de iniciar.',
   'Filename' : 'Nombre de archivo',
   'Status' : 'Estado',
   'Size' : 'Tamaño',
   'Add files' : 'Agregue archivos',
   'Stop current upload' : 'Detener subida actual',
   'Start uploading queue' : 'Iniciar subida de cola',
   'Uploaded %d/%d files': 'Subidos %d/%d archivos',
   'N/A' : 'No disponible',
   'Drag files here.' : 'Arrastre archivos aquí',
   'File extension error.': 'Error de extensión de archivo.',
   'File size error.': 'Error de tamaño de archivo.',
   'Init error.': 'Error de inicialización.',
   'HTTP Error.': 'Error de HTTP.',
   'Security error.': 'Error de seguridad.',
   'Generic error.': 'Error genérico.',
   'IO error.': 'Error de entrada/salida.',
   'Stop Upload': 'Detener Subida.',
   'Add Files': 'Agregar Archivos',
   'Start Upload': 'Comenzar Subida.',
   '%d files queued': '%d archivos en cola.'
    });

In Spain files can be called ficheros instead of archivos, but they should definitely get it either way.

Re: Internationalization (i18n) of the Plupload

Went into the latest commit smile

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Internationalization (i18n) of the Plupload

Here's Portuguese (Brazil) for you:

// Português Brasileiro
plupload.addI18n({
   'Select files' : 'Selecione arquivo(s):',
   'Add files to the upload queue and click the start button.' : 'Adicione arquivos para a lista de upload e clique no botão "Iniciar".',
   'Filename' : 'Nome do arquivo',
   'Status' : 'Status',
   'Size' : 'Tamanho',
   'Add files' : 'Adicionar Arquivos',
   'Stop current upload' : 'Parar upload atual',
   'Start uploading queue' : 'Iniciar upload',
   'Uploaded %d/%d files': 'O upload de %d/%d arquivos foi finalizado',
   'N/A' : 'N/A',
   'Drag files here.' : 'Arraste arquivos aqui.',
   'File extension error.': 'Erro de extensão de arquivo.',
   'File size error.': 'Erro de tamanho de arquivo.',
   'Init error.': 'Erro de Inicialização.',
   'HTTP Error.': 'Erro de HTTP.',
   'Security error.': 'Erro de segurança.',
   'Generic error.': 'Erro genérico.',
   'IO error.': 'Erro de entrada/saída.'
   'Start upload': 'Iniciar upload'
});

We don't have a word for "upload", so we use the English one.

Re: Internationalization (i18n) of the Plupload

I hardly dare to ask, but does someone have the french for me? Thanks in advance.

Re: Internationalization (i18n) of the Plupload

@charlotte, there is already a french language pack included in the bundle. You can find it under: src/javascript/i18n/fr.js. Unfortunately it's not complete, as german for example.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Internationalization (i18n) of the Plupload

Fr.js ... has caps errors wink

plupload.addI18n({
    'Select files' : 'Sélectionner les fichiers',
    'Add files to the upload queue and click the start button.' : 'Ajouter des fichiers à la file et appuyer sur le bouton démarrer.',
    'Filename' : 'Nom de fichier',
    'Status' : 'Status',
    'Size' : 'Taille',
    'Add files' : 'Ajouter fichiers',
    'Stop current upload' : 'Arrêter téléversement',
    'Start upload' : 'Démarrer téléversement',
    'Drag files here.' : 'Déposer les fichiers ici.'
});

Re: Internationalization (i18n) of the Plupload

I noticed the Plupload 1.4.2 used a more complete PT-BR translation than the one I posted, but it contains a few minor mistakes. I can fix it and post it, if you want.

Re: Internationalization (i18n) of the Plupload

@Naner, yes sure, just post fixed file here, and we will update it smile Thanks.

New website will have much more convenient way to do translations. It's coming.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Internationalization (i18n) of the Plupload

// Brazilian Portuguese
plupload.addI18n({
   'Select files' : 'Selecione os arquivos',
   'Add files to the upload queue and click the start button.' : 'Adicione os arquivos à lista abaixo e clique no botão "Iniciar o envio".',
   'Filename' : 'Nome do arquivo',
   'Status' : 'Status',
   'Size' : 'Tamanho',
   'Add files' : 'Adicionar arquivo(s)',
   'Add files.' : 'Adicionar arquivo(s).',
   'Stop upload' : 'Parar o envio',
   'Start upload' : 'Iniciar o envio',
   'Uploaded %d/%d files': '%d/%d arquivo(s) foram enviados',
   'N/A' : 'N/D',
   'Drag files here.' : 'Arraste os arquivos para este local',
   'File extension error.': 'Tipo de arquivo não permitido.',
   'File size error.': 'Tamanho de arquivo não permitido.',
   'File count error.': 'Erro na contagem dos arquivos',
   'Init error.': 'Erro de inicialização.',
   'HTTP Error.': 'Erro de HTTP.',
   'Security error.': 'Erro de segurança.',
   'Generic error.': 'Erro genérico.',
   'IO error.': 'Erro de Entrada/Saída.',
   'File: %s': 'Arquivo: %s',
   'Close': 'Fechar',
   '%d files queued': '%d arquivo(s)',
   'Using runtime: ': 'Usando: ',
   'File: %f, size: %s, max file size: %m': 'Arquivo: %f, tamanho: %s, máximo: %m',
   'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'Só são aceitos %d arquivos por vez. O que passou disso foi descartado.',
   'Upload URL might be wrong or doesn\'t exist': 'URL de envio está errada ou não existe',
   'Error: File too large: ': 'Erro: Arquivo muito grande: ',
   'Error: Invalid file extension: ': 'Erro: Tipo de arquivo não permitido: '
});

The file too large one had "File to large" written on it. I believe it was lacking an "o", but it might be wrong since the original English version, so I think you should check on that.

And now Portuguese is the most complete translation file, so I guess it should be used as reference to other languages.

17 (edited by sheikhjee 2011-02-23 20:45:34)

Re: Internationalization (i18n) of the Plupload

I am newbie in this forum and say hello to all of you

Re: Internationalization (i18n) of the Plupload

davit wrote:

@charlotte, there is already a french language pack included in the bundle. You can find it under: src/javascript/i18n/fr.js. Unfortunately it's not complete, as german for example.

Thanks for this : i didnt find it at first either yikes
If i have time, i will try to finish the translation.

Re: Internationalization (i18n) of the Plupload

Hi, I add latvian translations, hope someone can use them:

// .lv file like language pack
plupload.addI18n({
    'Select files' : 'Izvēlieties failus',
    'Add files to the upload queue and click the start button.' : 'Pieveinojiet failus rindai un klikšķiniet uz "Sākt augšupielādi" pogas.',
    'Filename' : 'Faila nosaukums',
    'Status' : 'Statuss',
    'Size' : 'Izmērs',
    'Add files' : 'Pievienot failus',
    'Stop current upload' : 'Apturēt pašreizējo augšupielādi',
    'Start uploading queue' : 'Sākt augšupielādi',
    'Drag files here.' : 'Ievelciet failus šeit',
    'Start upload' : 'Sākt augšupielādi',
    'Uploaded %d/%d files': 'Augšupielādēti %d/%d faili',
    'Stop upload': 'Pārtraukt augšupielādi',
    'Start upload': 'Sākt augšupielādi',
    '%d files queued': '%d faili pievienoti rindai',
    'File: %s': 'Fails: %s',
    'Close': 'Aizvērt',
    'Using runtime: ': 'Lieto saskarni: ',
    'File: %f, size: %s, max file size: %m': 'Fails: %f, izmērs: %s, maksimālais faila izmērs: %m',
    'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'Iespējams ielādēt tikai %d failus vienā reizē. Atlikušie faili netika pievienoti',
    'Upload URL might be wrong or doesn\'t exist': 'Augšupielādes URL varētu būt nepareizs vai neeksistē',
    'Error: File to large: ': 'Kļūda: Fails pārāk liels: ',
    'Error: Invalid file extension: ': 'Kļūda: Nekorekts faila paplašinājums:',
    'File extension error.': 'Faila paplašinājuma kļūda.',
    'File size error.': 'Faila izmēra kļūda.',
    'File count error.': 'Failu skaita kļūda',
    'Init error.': 'Inicializācijas kļūda.',
    'HTTP Error.': 'HTTP kļūda.',
    'Security error.': 'Drošības kļūda.',
    'Generic error.': 'Vispārēja rakstura kļūda.',
    'IO error.': 'Ievades/Izvades kļūda.'
});

Re: Internationalization (i18n) of the Plupload

EdgarsStrods wrote:

Hi, I add latvian translations, hope someone can use them...

Sure, thanks smile

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Internationalization (i18n) of the Plupload

Full (from the german file) french translation :

plupload.addI18n({
    'Select files' : 'Sélectionnez les fichiers',
    'Add files to the upload queue and click the start button.' : 'Ajoutez des fichiers à la file et appuyez sur le bouton démarrer.',
    'Filename' : 'Nom de fichier',
    'Status' : 'Status',
    'Size' : 'Taille',
    'Add files' : 'Ajouter Fichiers',
    'Stop current upload' : 'Arrêter l\'envoi en cours',
    'Start uploading queue' : 'Démarrer l\'envoi',
    'Uploaded %d/%d files': '%d/%d fichiers envoyés',
    'N/A' : 'Non applicable',
    'Drag files here.' : 'Déposer les fichiers ici.',
    'File extension error.': 'Erreur extension fichier',
    'File size error.': 'Erreur taille fichier.',
    'Init error.': 'Erreur d\'initialisation.',
    'HTTP Error.': 'Erreur HTTP.',
    'Security error.': 'Erreur de sécurité.',
    'Generic error.': 'Erreur générique.',
    'IO error.': 'Erreur E/S.',
    'Stop Upload': 'Arrêter les envois.',
    'Add Files': 'Ajouter des fichiers',
    'Start Upload': 'Démarrer les envois.',
    '%d files queued': '%d fichiers en attente.'
});

Hope it can help

Re: Internationalization (i18n) of the Plupload

How can i switch to German language. Where have it to set this.

And BTW: where are the decription of all possible Values for the option.
Here i found only the possible options, but not which values:

http://www.plupload.com/documentation.php

Re: Internationalization (i18n) of the Plupload

@rethus you jus need to include corresponding js file after you include plupload. That will do.

New website will have translation module, which will help to unify and standartize internationalizaion tasks.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: Internationalization (i18n) of the Plupload

Hello all,

Here's my issue with plupload under Drupal 6

I installed plupload 1.4.3.2 lib and plupload integration module for Drupal (6.x.1.x published on 2011-May-19). That works fine.

Then, above in this topic, I picked up the i18n translation file I required and placed it in its correct path
(n.b: I had to create the path /src/javascript/i18n as it was not existing in the current plupload zip file )

Unfortunately as soon as I place my .js file  into: /drupal/sites/all/libraries/plupload/src/javascript/i18n/ as recommended, the plupload fails to load and Chrome (or Firefox) gives me the following message instead:

"Your browser does not support HTML5 native or flash upload. Try Firefox 3, Safari 4, or Chrome; or install Flash"

When  I rename /src/ directory to /srcOFF/  plupload works back again ...but in its original language, of course sad

What am i doing wrong ? Thx for your help.

Re: Internationalization (i18n) of the Plupload

in the downloadfile i didn't found any  "src/javascript/i18n" Folder.
Can someone give me a hint?