2013/10/17 Sharoon Thomas <[email protected]>: > fields.Selection allows for translation [1]. So getting the value and > displaying it should > work straight depending on the language in the context. > > However, I am not sure of how to get the translated selection options. If you > find a way > I think we could build a custom SelectField based on WtForms select field > which handles > the selection options with translation automatically.
Ups! I think is more complex use WtForms, not? I improve this feature use fields_get (1). I like it because not need to translate this values in template - Get translation value from Transaction language (remember is pending fix (2) ) Thanks (1) https://github.com/openlabs/nereid/pull/101#issuecomment-26490940 (2) https://github.com/openlabs/nereid/pull/100
