Logo: Relish

  1. Sign in

Project: Configure-module

Localisation

This feature tests that this application has the ability to translate based on the I18N library

Scenarios
Translation a page given a test language
Given
the file 'test_language.yml' contains:
test_language:
  support number: abc
And
home page application contains a page called 'locale_test.haml' which contains:
#{t('support number')}
When
Obadiah Stane is logged in
And
Obadiah Stane has the language cookie set to test_language
And
Obadiah Stane navigates to the locale test page
Then
Obadiah Stane should see 'abc'

Last published over 4 years ago by John James.