
Add "language config" variable, support in page files
Reported by Chuck van der Linden | April 6th, 2009 @ 03:55 PM | in Backlog
Per discussion on the Yahoo group,
I think we could do this as follows:
-
Add a config variable "language"
-
Pages would look like this.
class HomePage < Taza::Page
#language in-sensitive stuff here
element(:signout) {browser.link):id, 'signout')}
#language sensitive stuff goes in here
case $language
when 'en'
element(:eggplant){browser.button(:value, 'Eggplant')}
when 'fr'
element(:eggplant){browser.button(:value, 'Aubergine')}
end end
Comments and changes to this ticket
-
bret (at watircraft) April 9th, 2009 @ 07:34 PM
- Milestone set to Backlog
- Tag changed from internationalization to feature, internationalization
- State changed from new to open
-
Bret Pettichord June 11th, 2009 @ 09:00 PM
- Assigned user changed from bret (at watircraft) to Bret Pettichord
[responsible:ID#38130 bulk edit command]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A framework for web testing.