Cool... ill take a look at the URL you sent over.
Thanks for that. will let you know how i get on...

Kind regards,
Usman Hussain

On Oct 14, 3:08 pm, Charley Baker <charley.ba...@gmail.com> wrote:
> Sure, there are ways to do this. I've tested sites in multiple
> languages. There are a few libraries for localization in Ruby, take a
> look for them. The basic premise is that you use tokens when referring
> to visible text that get replaced by strings from various localized
> files. Something along this vein:http://guides.rubyonrails.org/i18n.html
>
> hth,
> Charley Baker
> Lead Developer, Watir,http://watir.com
>
>
>
> On Thu, Oct 14, 2010 at 5:22 AM, Ozzi <usmanhhuss...@gmail.com> wrote:
> > Hi Guys,
>
> > Bit of a random question...
>
> > But has anyone written a script and then used it to run in English,
> > Spanish, Italian etc...
>
> > What i mean is, has anyone run a script where all the button names can
> > be changed from English to another language like Spanish?
>
> > Is this even possible in Watir?
>
> > Do i have to write a wrapper type file to replace all the words with
> > ones that match up in Spanish?
>
> > This will save me time and avoid repeating code if i can just get the
> > test to change the keywords to spanish...
>
> > if you need more info then please let me know and i will try and
> > describe in more detail what i mean...
>
> > Kind regards,
> > Usman Hussain
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search 
> > before you ask, be nice.
>
> > watir-general@googlegroups.com
> >http://groups.google.com/group/watir-general
> > watir-general+unsubscr...@googlegroups.com

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to