473,394 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How can I localize the Browse buton ?


Hy all

I have a form for uploading photos on a web page wich I need to translate
in French. My problem is I have no ideea how to translate the Browse button
of the <input type=file ...> element. I have read quickly the HTML 4.01
reference from W3C once but I don't remember anything that could help me.

Please how could I translate the Browse button of the <INPUT type=file...>
element ?

--
------------------------------------
Thank you
Timothy Madden
Romania
And I don't wanna miss a thing
Jul 20 '05 #1
7 7360
Timothy Madden wrote:
I have a form for uploading photos on a web page wich I need to translate
in French. My problem is I have no ideea how to translate the Browse
button of the <input type=file ...> element.


I'm not sure what will influence this. Possibly declaring the page is
written in French using the lang attribute will do the job, but more likely
this is entirely down to the configuration of the end users browser.

Certainly there is no explicit way of specifying the text displayed for the
file input.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #2
JRS: In article <wu*****************************@40tude.net>, seen in
news:comp.infosystems.www.authoring.html, Timothy Madden
<ba****@rmv.spam.home.ro> posted at Sun, 11 Jul 2004 18:44:42 :

Please how could I translate the Browse button of the <INPUT type=file...>
element ?


Let your Browse behave like the other Browses on their system; they will
be used to that. Since a direct translation appears to be
Brouter/Broutez, they should have little difficulty with the word
Browse, if it appears.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> JL / RC : FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jul 20 '05 #3
On Sun, 11 Jul 2004 20:32:54 +0100, Dr John Stockton wrote:
JRS: In article <wu*****************************@40tude.net>, seen in
news:comp.infosystems.www.authoring.html, Timothy Madden
<ba****@rmv.spam.home.ro> posted at Sun, 11 Jul 2004 18:44:42 :

Please how could I translate the Browse button of the <INPUT type=file...>
element ?


Let your Browse behave like the other Browses on their system; they will
be used to that. Since a direct translation appears to be
Brouter/Broutez, they should have little difficulty with the word
Browse, if it appears.


Yeah, I would, but in an otherwise translated page in looks realy bad.
BTW, I have to translate it to be Chercher. I can understand a little
French, but I can't compose anything in French
--
------------------------------------
Thank you
Timothy Madden
Romania
And I don't wanna miss a thing
Jul 20 '05 #4
"Dr John Stockton" <sp**@merlyn.demon.co.uk> a écrit dans le message de
news:9A**************@merlyn.demon.co.uk
Let your Browse behave like the other Browses on their system; they
will be used to that. Since a direct translation appears to be
Brouter/Broutez


Mais monsieur, ce sont les vaches qui broutent dans les prés !

Well "broutez" is not a correct translation actually - the usual one is
"parcourir"

Regards,
P. Goiffon

Jul 20 '05 #5
"Timothy Madden" <ba****@rmv.spam.home.ro> schrieb im Newsbeitrag
news:11*******************************@40tude.net. ..
On Sun, 11 Jul 2004 20:32:54 +0100, Dr John Stockton wrote:
JRS: In article <wu*****************************@40tude.net>, seen in
news:comp.infosystems.www.authoring.html, Timothy Madden
<ba****@rmv.spam.home.ro> posted at Sun, 11 Jul 2004 18:44:42 :

Please how could I translate the Browse button of the <INPUT type=file...>element ?


Let your Browse behave like the other Browses on their system; they will
be used to that. Since a direct translation appears to be
Brouter/Broutez, they should have little difficulty with the word
Browse, if it appears.


Yeah, I would, but in an otherwise translated page in looks realy bad.
BTW, I have to translate it to be Chercher. I can understand a little
French, but I can't compose anything in French


You can't with HTML or CSS. The text in that button is made by the browser
or even the operating system, so it is the same kind of task as if you would
have to change the appearance of the Windows logo in Internet Explorer.

Maybe you could do it if you wrote a Java applet or something, I am not
familiar with that.

HTH
Markus
Jul 20 '05 #6
On Mon, 12 Jul 2004 09:39:47 +0300, Timothy Madden
<ba****@rmv.spam.home.ro> wrote:

Yeah, I would, but in an otherwise translated page in looks realy bad.
BTW, I have to translate it to be Chercher. I can understand a little
French, but I can't compose anything in French


Although there's no support for this right now, the best plan is
probably to mark the document (or part thereof) as being in French
using lang="fr". This way a browser has the information needed to make
that decision assuming that decision is possible.

For browsers which ignore language, the browse button will look like
it does in every other app. on the same system, so there shouldn't be
a problem.

In short, you can't change it now but mark up your document properly
and it might "just work" in the future.

Take care,
-Claire
Jul 20 '05 #7
"Claire Tucker" <fa**@invalid.invalid> a écrit dans le message de
news:c3********************************@4ax.com
For browsers which ignore language, the browse button will look like
it does in every other app. on the same system, so there shouldn't be
a problem.


Well, I've just test it with Mozilla 1.7 (none language pack installed) on a
french Windows 2000 PC, and the result is... Mozilla shows a "browse"
button, though any other applications show "parcourir" buttons.
So it's not like any other apps on the system, but we can consider it's not
so important because the user can easily see his browser is in english, and
all of the "browse" buttons within the browser will be labelled in english.
Well, there just could be a surprise because the other buttons (submit,
reset) could be labelled like the author want to.

Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vincent M. | last post by:
Hello, Is there any way to change the result of the IE navigation back buton ? Something like that: history.back() = "index.html" ; Thanks, Vincent.
5
by: Jerry | last post by:
Does dot net frame prevoid any support for localizing Enum memebers? For example: enum Alignment { Left, Right } string left = Alignment.Left.ToString(); left is "Left", how to localize it?
0
by: PawelR | last post by:
Hello Group, I have question about component CrystalReportViewer. I use VS.NET 2003 and I need localize this component. How change Message and ToolTip, description etc. to other language? ...
5
by: Eric Twietmeyer | last post by:
Hi, Does anyone know why starting with VS.NET 2002 (and same with 2003) it is no longer possible to browse to a directory that has "ept" as part of the path? It worked fine in Vc 6.x. My...
3
by: Highlander | last post by:
Hello all. Consider the following HTA: <HTML> <HEAD> <TITLE></TITLE></HEAD> <BODY> <SCRIPT LANGUAGE="VBScript"> Sub ButBrowse_onclick() '-- show browse window and Get file path:
6
by: naima.mans | last post by:
Hello :) I'm newbie to XSLT and i need some advice please: Here the action: I have to browse an XML file with xslt : For each node i have to determinate if it is a node where i need to add...
0
by: Arti | last post by:
Hi, Can somebody tell me how exactly one can localize a web application which makes use of custom control. The facts as i know are - The scope of the set of resources(default) or satellite...
2
by: J-L | last post by:
Hi, I'm searching a real good tutorial on using Gettext and .po files to localize a software on Visual C# 2008. Otherwise, a tool to Easily edit a .resx file ... Thanks for your help ... ...
2
by: Eng Teng | last post by:
Where is the part to set when my mouse pointer move to textbox or label or buton it will display text description ? Regards, Tee
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.