Input File

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tno
Forum Newbie
Posts: 4
Joined: Tue Apr 01, 2008 6:03 am

Input File

Post by tno »

Hello there,
Trust u r doing well.
Does anybody know how to change the display of the input file from french "Parcourir" to english "Browse" ?
I explain:
I wrote:

Code: Select all

<input name="userfile" type="file" />
As output, I've got a botton libelled "Parcourir" while I'm expecting to get "Browse".
Any clues?
Thanks in advance!

BRs,
User avatar
EverLearning
Forum Contributor
Posts: 282
Joined: Sat Feb 23, 2008 3:49 am
Location: Niš, Serbia

Re: Input File

Post by EverLearning »

I think that depends on the HTML page content language . It's probably set to French, try setting it to english

Code: Select all

<meta http-equiv="content-language" content="en-us" />
tno
Forum Newbie
Posts: 4
Joined: Tue Apr 01, 2008 6:03 am

Re: Input File

Post by tno »

EverLearning wrote:I think that depends on the HTML page content language . It's probably set to French, try setting it to english

Code: Select all

<meta http-equiv="content-language" content="en-us" />
Thanks for ur swift reply.
Unfortunately, I've added this tag in my document but in vain.
Please advise.

BRs,
tno
Forum Newbie
Posts: 4
Joined: Tue Apr 01, 2008 6:03 am

Re: Input File

Post by tno »

Hello,
Any feed back?

BRs,
User avatar
EverLearning
Forum Contributor
Posts: 282
Joined: Sat Feb 23, 2008 3:49 am
Location: Niš, Serbia

Re: Input File

Post by EverLearning »

Can you post the source to your HTML code? If its not that, only thing that comes to my mind is user language settings on your computer. Does it show 'Parcourir' on other computers and browsers as well?
tno
Forum Newbie
Posts: 4
Joined: Tue Apr 01, 2008 6:03 am

Re: Input File

Post by tno »

Hello,
Unfortunately, I've got the same behavior elsewhere.
It seems to be related to the operating system, isn't it?
(I'm using Windows XP french edition).
I've changed the user language settings but in vain.
what shall I do?

BRs,
thaynejo
Forum Newbie
Posts: 14
Joined: Tue Apr 01, 2008 9:06 am

Re: Input File

Post by thaynejo »

tno wrote:(I'm using Windows XP french edition).
That is definitely where the problem lies. I recommend checking the Microsoft knowledge base. Your answer should be there. I am not familiar with the way other language versions of XP handle items like that, but I do know that that is where the problem lies.
Post Reply