async def render_list(self, request=None) -> List[Text]:
from bernard.middleware import MiddlewareManager<EOL>if request:<EOL><INDENT>tz = await request.user.get_timezone()<EOL>locale = await request.get_locale()<EOL>flags = await request.get_trans_flags()<EOL><DEDENT>else:<EOL><INDENT>tz = None<EOL>locale = self.wd.list_locales()[<NUM_LIT:0>]<EOL>flags = {}<EOL><DEDENT>rp = MiddlewareManager.instance().get('<STR_LIT>', self._resolve_params)<EOL>resolved_params = await rp(self.params, request)<EOL>f = I18nFormatter(self.wd.choose_locale(locale), tz)<EOL>return self.wd.get(<EOL>self.key,<EOL>self.count,<EOL>f,<EOL>locale,<EOL>resolved_params,<EOL>flags,<EOL>)<EOL>
Render the translation as a list if there is multiple strings for this
single key.

:param request: Bot request.