https://github.com/marketsquare/robotframework-browser-translation
Browser library translation to Finnish
https://github.com/marketsquare/robotframework-browser-translation
language test-automation
Last synced: 7 months ago
JSON representation
Browser library translation to Finnish
- Host: GitHub
- URL: https://github.com/marketsquare/robotframework-browser-translation
- Owner: MarketSquare
- License: apache-2.0
- Created: 2024-03-27T20:17:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-11-24T06:18:35.000Z (7 months ago)
- Last Synced: 2025-11-27T19:50:44.984Z (7 months ago)
- Topics: language, test-automation
- Language: Python
- Homepage:
- Size: 397 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Finnish translation for Robot Framework Browser library
[](https://pypi.python.org/pypi/robotframework-browser-translation)

[](https://opensource.org/licenses/Apache-2.0)
[](#contributors)
This project contains a translations for the Robot Framework
[Browser](https://github.com/MarketSquare/robotframework-browser)
library. Currently project contains only one translation,
[Finnish](https://github.com/MarketSquare/robotframework-browser-translation/blob/main/robotframework_browser_translation/translation_fi.json)
, but new languages can be added by creating translation_xx.json file
and adding the file to
[__init__.py](https://github.com/MarketSquare/robotframework-browser-translation/blob/main/robotframework_browser_translation/__init__.py) file.
This project uses Browser library
[Python plugin API](https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/)
to provide
[translation_xx.json](https://github.com/MarketSquare/robotframework-browser-translation/blob/main/robotframework_browser_translation/translation_fi.json)
file for the Browser library. Browser library searches Python plugins by using
naming convention: `robotframework_browser_translation`. This module
fulfills the Browser library translation API and provides `get_language`
method. The method return a list of dictionaries:
```python
[{"language": "fi", "path": "/path/to/translation.json"}]
```
Which Browser library will use to match correct translation from all
the found Python plugins. Language search is enabled when Browser
library is imported with:
```robotRobotFramework
*** Settings ***
Library Browser language=fi
```
## Detect changes in documentation
The
[translation_xx.json](https://github.com/MarketSquare/robotframework-browser-translation/blob/main/robotframework_browser_translation/translation_fi.json)
contains sha256 sum, which is generated by the Browser library. The sha256
is the checksum of the original documentation of the Browser library documentation.
The checksum is used by
`rfbrowser translation --compare robotframework_browser_translation_fi/translation.json`
command to compare translation between the library and translation file. Command will
display a list of keywords which needs updating or are missing from the translation.json
file.
## Contributors