Comments (10)
@kevinpapst GREAT! I've just translated the Croatian part at https://hosted.weblate.org/projects/kimai/website/hr/. Good luck and I hope everything works fine.
from www.kimai.org.
French is also translated
from www.kimai.org.
Hi @milotype - I took some time today to start making other pieces of the website translatable.
I also addressed some unintended language switches on the site notice and privacy policy pages.
Unfortunately weblate is not an option currently, due to technical restrictions. I will give it a try in the future, but time is limited...
@RaphaelLaurent giving you a ping, just in case you want to help translating the features to French 😄
General translations can always be changed at:
Features on homepage
I started with the "features" section of the homepage, which was rather easy to do.
You can add your translations here:
- Croatian: https://github.com/kimai/www.kimai.org/tree/master/_features/hr
- French: https://github.com/kimai/www.kimai.org/tree/master/_features/fr
The original content can be found here:
https://github.com/kimai/www.kimai.org/tree/master/_includes/features
Two things you can do:
- change the title
- replace the
{% include features/active-entries.md %}
with the actual translated content
Documentation index and top-level menu
Starting with an easy task regarding the documentation, I added language keys for the sections and their description.
The section names are also used in the documentation menu (but currently only on the index page).
Translating the documentation is a huge topic and will probably only happen for the structure (menu and recurring labels), especially to prevent accidental language switches.
- Menu translations go in here: https://github.com/kimai/www.kimai.org/blob/master/_data/menu-documentation.yml
- Other keys can be translated here: https://github.com/kimai/www.kimai.org/blob/master/_data/trans.yml
Store pages
The biggest changes are definitely the store pages, which can now be fully translated.
All store pages exist now in all languages and can be adapted one by one:
- French: https://github.com/kimai/www.kimai.org/tree/master/_store/fr
- Croatian: https://github.com/kimai/www.kimai.org/tree/master/_store/hr
If you want, you can translate the names and descriptions. The page content is to much to translate for the first step.
I started with the titles of some of my own plugins in german.
There are some untranslated strings in the store detail pages, which I will work on the next days.
from www.kimai.org.
Hi Kevin,
Thanks for the message, I will start translating the features in the next few days (I just created a fork).
from www.kimai.org.
Hey you two 😄
I had an inspiration today and found a way to add the main translations to weblate:
https://hosted.weblate.org/projects/kimai/website/
I will have to do more refactorings to allow translating other components/store pages/menu ... but the first step is always the most complicated one and that was likely a success today.
There are some new translations in the main files, so you could give it a try at any time. I am really curious if it works as well as with Kimai itself.
from www.kimai.org.
@milotype here is the first weblate PR: https://github.com/kimai/www.kimai.org/pull/155/files
from www.kimai.org.
Thanks to your continuous feedback, I refactored the website again and moved more translations to the Weblate component:
you can now edit the entire features list there and all menu names and titles.
Plus the "Demo will be reinstalled" string, which is currently untranslated
Croatian: https://hosted.weblate.org/translate/kimai/website/hr/?q=has:check
French: https://hosted.weblate.org/translate/kimai/website/fr/?q=has:check
I already received translations for other languages, but I cannot add them yet, because of all the other (page, store) files which are missing. I have to find a way to move those to Weblate as well, so we can edit at least all titles in there.
Thanks to you I see a big SEO potential lying around here... will push that topic further as soon as I find more time.
For now I will ignore all the other strings which are on pages, that only exist in english (documentation, news, v1 pages), but concentrate on the main pages.
from www.kimai.org.
@kevinpapst OK, Croatian is translated.
Please also check my comment at: https://hosted.weblate.org/translate/kimai/invoice-templates/hr/?q=has:comment#comments
from www.kimai.org.
Done @milotype ... I have still a lot to learn about weblate 😳
from www.kimai.org.
Today I merged a lot of changes. Just in case you have received too many Weblate emails today, you soon know why 😁
While I was working on integrating Chinese translations, I found several places which were still untranslatable.
The files in this repo are more and more only empty placeholders to trigger the Jekyll build for this language, but are not meant for the actual translations any more. Also: applying changes to four (or more) languages started to be annoying, so I worked on more translatable elements.
And as of today a lot of new elements are translatable through Weblate, e.g. shop title/intro/featured text
What is missing from the initial post are the translatable news categories. But news are english only, so I would ignore that point for now and simply close here!?!
from www.kimai.org.
Related Issues (20)
- php package php8.1-gd missing in installation documentation HOT 1
- Test RTL languages HOT 1
- Create installation and update videos
- Add 'provider' key to SAML documentation HOT 1
- instructions for add plugin to store HOT 4
- Outdated doku of plugin development HOT 2
- SmallBusinessRuleBundle now compatible for Kimai v2.0 HOT 3
- Missing information for custom fonts in invoices HOT 3
- [Feat] Suggestion of adding Elestio as one-click deploy option with others
- Cloud registration: `ERROR: This value is already in use` persists after first entry HOT 1
- Currency Symbol not showing in Report
- Automatic language detection for the website HOT 1
- remove ugly stolen AI junk from your landing page HOT 1
- [Docs] Lockdown period documentation have faulty link
- [Docs] Lockdown period documentation seems not to align with implementation code HOT 1
- Bug in the "Features" webpage HOT 1
- Enable text wraping for narrow windows/screens HOT 1
- Text alignement in the footer HOT 2
- Add search to user manual / documentation
- Language specific content
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from www.kimai.org.