"you have 3 items in your cart" would in that case create a translation for each time the amount changes, instead of having "you have {{count}} items in your cart. A backend proxy sounds like an interesting idea, but working with an i18n formatted string from the start seems like a more sustainable approach.
Interesting! How about using Deepl as a translation backend? I got some good results for translation strings with {{placeholders}} that needed to be ignored in the translations. Its api also has some neat features like formality, glossaries and context(experimental).
I use DeepL for real-time translation in my side project. The reason I’m not utilizing the DeepL API on my backend and instead opting for the OpenAI API is twofold:
1. OpenAI is more cost-effective compared to DeepL API.
2. I was already using ChatGPT to translate my JSON files, so there’s no change in translation quality for me.
The primary issue I wanted to resolve is easily keeping all my destination language JSON files in sync.
Cool, nice product. Interesting to see that you've managed to get translations working on top of chatGPT, even for languages like Arabic! I decided not to support target language edits, because I felt it would make it much more difficult to keep languages in sync, when the source string is not always leading. How do you deal with this properly? Would love to have an automatic workflow that updates the json source file, as i18n tags are being added/removed from frontend files. For versioning; maybe just take advantage of the project's (git) versioning?
Just updated my Librem 5, to see where it's at after catching dust in a drawer for a year. No bluetooth audio, sluggish browsing, no maps, no suspend, nice terminal, sweaty hands from the heat exhaust. So... still no battery life, and charging takes a couple of hours. I didn't even bother to try calls. Been there, done that with the PP & PPP. Great idea, nice proof of concept, but this is not a usable phone at all. Back to Fairphone + CalyxOS for me...
Wakapi is great! I'm using it for a couple of months now on a simple VPS. I like that it is written in Golang (quite fast) and feels polished. There is a recent instruction video about Wakatime & Wakapi which is a nice way to get a quick overview: https://www.youtube.com/watch?v=iEb71_kaluc
Because I couldn't find any similar solution, I've come up with a small script (Wakamonth) on top of Wakapi/Wakatime, that allows me to get an overview of worked hours at the end of the month, without me having to write down this manually. Any thoughts about it or similar solutions?
I tried to log hours with Wakapi and Wakatime plugins for Vscode and Firefox. Heartbeats are still collected when offline, but i'm not sure how precise the time tracking itself is. The collected data can be summarized on a project/branch level, which makes it suitable for hour reports. A first attempt: https://github.com/bitstillery/wakamonth
I got mine a month ago; ordered oktober 2019. Since than tried the Pinephone and PPP as a daily driver. The Librem5...it's slower and clunkier than the Pinephone pro. Both last less than 24 hours on a charge(suspend and calls seem to be a difficult problem tot fix). In the end, these may be nice tinkering devices, but nowhere near anything that you can reliably use as a phone. I now use a Fairphone 4 + Calyxos, and am quite happy with it. Spotify instead of Ncspot, Bluetooth that works, calls that work, no more buggy mobile Firefox config, reliable maps, messaging clients that work in the background. Most importantly; a battery that last at least 2 days, with reliable fast-charging. Purism, Pine and the Opensource community around it are just too small; either they run out of cash and/or people burn out trying to make it happen. A whole different case, but Valve's steamdeck is IMO a good example that Linux-based products with a good value proposition are possible, under the right circumstances.