Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Choose File and No file chosen

Quote Reply
Choose File and No file chosen
In the place on the Forum where the user attaches files are the two phrases:
  • Choose File
  • No file chosen

I want to translate them to another language, but I cannot file where the phrases are.


Is it in one of the .pm files, rather than the templates? Ideally, I'd want a variable.


Thanks for your help!




Quote Reply
Re: [tora] Choose File and No file chosen In reply to
Hi,

I would imagine its in the language.txt file for your template set. Alternatively, if you have SSH you could run:

Code:
grep -rl 'No file chosen' .

...and it should give you the location of the file (it may take a while, depending on the size of your site)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Choose File and No file chosen In reply to
Thanks, Andy, it's not in the in the language.txt file. Frown

Does anyone have a suggestion other than Andy's creative (but for me complex) SSH one?
Quote Reply
Re: [tora] Choose File and No file chosen In reply to
Hi,

You know what - I'm not sure you can change those bits.

What you get in Chrome:



What you get in Firefox:



Those particular placeholders are actually decided by the browser themselves. Apart from doing some fancy HTML/CSS/JS gymnastics, you can't change them.

Are you wanting to change them to another language?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Choose File and No file chosen In reply to
Brilliant! Of course!

and my users will have their browser set to their language.

Thanks!