Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RF localization (in 5.1 beta 1) #728

Closed
fabioz opened this issue Aug 12, 2022 · 0 comments
Closed

Support for RF localization (in 5.1 beta 1) #728

fabioz opened this issue Aug 12, 2022 · 0 comments
Labels
enhancement New feature or request robotframework-ls

Comments

@fabioz
Copy link
Collaborator

fabioz commented Aug 12, 2022

APIs:

>>> from robot.api import Language
>>> fi = Language.from_name('Finnish')
>>> fi.library
'Kirjasto'
>>> Language.__subclasses__()
[<class 'robot.conf.languages.En'>, <class 'robot.conf.languages.Cs'>, <class 'robot.conf.languages.Nl'>, <class 'robot.conf.languages.Fi'>, <class 'robot.conf.languages.Fr'>, <class 'robot.conf.languages.De'>, <class 'robot.conf.languages.PtBr'>, <class 'robot.conf.languages.Pt'>, <class 'robot.conf.languages.Th'>, <class 'robot.conf.languages.Pl'>, <class 'robot.conf.languages.Es'>, <class 'robot.conf.languages.ZhCn'>]
@fabioz fabioz added enhancement New feature or request robotframework-ls labels Aug 12, 2022
fabioz added a commit that referenced this issue Aug 23, 2022
- The language may be set just for a file (with `language: <lang>` on the top of the file).
- The language may be specified globally through the setting: `robot.language`.
- Support for completions with translated section names and settings.
- Support for syntax highlighting translated bdd prefixes.
- The language(s) set in the `robot.language` configuration are automatically added as parameter on new launches.
@fabioz fabioz closed this as completed in b69afa3 Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request robotframework-ls
Projects
None yet
Development

No branches or pull requests

1 participant