Fileupload tranlation

gtrennert

New Member
Hello

My Joomla 3.4.4 site is multi language - french and english at this moment
In my form I have a fileupload element
The "select-file-thing" always shows up in french : "Choisissez un fichier" and "Aucun fichier choisi" even when I'm on the English page
How can I get on the english page the right text meaning :
"Select File"
"No File selected"

Thanks!
 
I presume you are referring to the standard file upload (none ajax), in which case those strings are written by your browser independently of the site's language.
Anyone using an english version of the browser will see the text in English
 
Ok I understand
I changed to ajax and this works - Thanks!

But I have now 2 other problems :
In the form I entered a Success message as a string to tranlsate : FABRIK_SEND_SUCCESS1
When I choose the english version of the site and submit I get the french success message ?!

An the file upload render is not "dynamic" - is there a way to make the height change when the user adds files - see image :

with default height & width :
fabrikformerror3.png




with height set to 30:

fabrikformerror4.png
 
Last edited:
We simply run that message through J!'s language API, with JText::_(). So any issues with translation are probably with the way you have your custom translations set up.

-- hugh
 
Hmm - I just verified again - and can't see whats wrong - sorry :

In the form I define the success message :
fabrikformlang01a.png


In Language overrides I translate for en & fr :

fabrikformlang01b.png


fabrikformlang01c.png


And in the browser on my site .../en/... I get all other texts translated in english, but not the success message :

fabrikformlang01d.png
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top