translation
Get translation from the following options, default to english.
Params
- code (
str
): language code, it accepts theACCEPT
header value. - **translation (
str
): list of translations,en-US
isen_us
- slug (
Optional[str]=None
): if it was provided, return the slug if the environment is test.