-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add "Edit on Github" and "Translate to..." buttons #78
base: master
Are you sure you want to change the base?
Conversation
Deploying with Cloudflare Pages
|
8512c0f
to
2608e2a
Compare
@rtsisyk PTAL, let's see if we get more translators via Github. |
2608e2a
to
d0fd95e
Compare
We can easily detect the browser's languages and make a list of translations that are NOT present yet on the website. And show the "Translate to..." box only if there are some new languages in the user's browser. |
d0fd95e
to
e7590fc
Compare
Can we wait for feedback in organicmaps/organicmaps#4076 before enforcing any alternative approches? Users will start editing markdowns that are generated (like Indonesian) and it will create total mess. |
|
Can we add a link to https://hosted.weblate.org/projects/organicmaps/website/ instead? |
@rtsisyk there is no need to show the same link to weblate on each page. It can be placed somewhere in the bottom menu instead, for example. This PR opens the page that is currently viewed. |
Signed-off-by: Alexander Borsuk <me@alex.bio>
Signed-off-by: Alexander Borsuk <me@alex.bio>
e7590fc
to
4c4c716
Compare
@rtsisyk rebased, PTAL |
@rtsisyk а нельзя обновлять po файлы из исправленных markdown? Получается, дорога в weblate - в один конец. И если надо что-то быстро поправить, то сейчас это придётся делать долго, через weblate. |
Искусственный интеллект для обратного запихивания денормализированного текста в нормализированное представление пока еще не изобрели. |
@rtsisyk Ты же можешь поправить скрипт, чтобы po файлы обновлялись из маркдаунов? |
Check the bottom of each page, there should be two buttons to easily edit the page or translate it to a new language.