netcarver Posted November 28, 2020 Share Posted November 28, 2020 Hello fellow PW devs, Do any of you know if it's possible to have or use multi-language textareas within a configurable module's settings page? I know it's possible to translate individual strings from within the module using the language tools - but I'd like to be able to offer different translations for a configuration field, if possible, without having to do something like use a multiplier field. Link to comment Share on other sites More sharing options...
teppo Posted November 28, 2020 Share Posted November 28, 2020 You can find a live example of this from https://github.com/blaueQuelle/privacywire/blob/master/PrivacyWireConfig.php: $f = $this->modules->get('InputfieldText'); // ... $f->useLanguages = true; (Here it's a text input, but this should work for textarea as well.) 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now