Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robbert/translate-test
https://github.com/robbert/translate-test
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/robbert/translate-test
- Owner: Robbert
- Created: 2021-10-06T11:16:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T07:45:04.000Z (5 months ago)
- Last Synced: 2024-04-22T09:00:20.238Z (5 months ago)
- Language: HTML
- Homepage: https://robbert.github.io/translate-test/
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Translate test
We were curious to find out how many people visit a website and use an automated service to translate the Dutch content to another language. It would be good to know when a significant amount of people would browse the website using for example right-to-left text directionality, or with in a script that isn't readable when using `letter-spacing`, `font-style: italic` or `font-weight: bold`. These statistics can help priotitise layout improvements for target languages we don't even provide translations for ourselves.
This repository contains some example code to track translation events using Google Tag Manager as well as [Matomo](https://matomo.org).
Another thing we wanted to investigate is if we can provide a right-to-left layout for translated versions of our website.
Examples:
- [Dutch original](https://robbert.github.io/translate-test/)
- [Arabic translation](https://robbert-github-io.translate.goog/translate-test/?_x_tr_sl=nl&_x_tr_tl=ar)
- [English translation](https://robbert-github-io.translate.goog/translate-test/?_x_tr_sl=nl&_x_tr_tl=en)## License
[European Union Public License, version 1.2 (EUPL-1.2)](https://opensource.org/licenses/EUPL-1.2)