-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Localize Text #914
Comments
Currently everything is hardcoded unfortunately. But having an i18n translation file is definitely on the list of improvements now. I'm changing the issues title and would come back to you for a french translation once this is done. Would this work for you? |
Hello, |
Hi there. |
I can translate to Slovenian... |
Hi |
Also interested to help traduct in french :) |
I have located and translated all hard-coded strings of the app to french, i can implement this feature if the correct structure is implemented, or at least advised (long time since i worked on an angular app, i would not be the right person to choose the plugins and file architecture). |
If no indication is given, i will start tomorrow. We have just rebased our branch to your latest main, and most changes are in conflict so i'll be faster implementing it correctly than fixing the merge :) If you have any indication to which plugin to use, that would be helpful. |
Didn't had a thorough look at the possibilities yet, but
If you find something let me know and I can have a look at that :) |
I'm following this at the moment: https://angular.io/guide/i18n about the difference between ngx-translate and native i18n: ngx-translate/core#495 |
Mostly done, will PR tomorrow |
Thanks to @pciavald this has been implemented and a french translation is also available. If anyone of you want to add another translation please feel free to do so. A how-to is available in the CONTRIBUTING file. Thanks :) |
Hi @Der-WU , can you help me with the translation to germany? I need this for a projekt in a few days. |
Or can someone else help me who is familiar with it? |
Are you having issues with these instructions? https://github.com/UnchartedBull/OctoDash/blob/main/CONTRIBUTING.md#add-a-new-language |
Yes I can't follow the instructions properly somehow. Is there a video or something? |
none that I'm aware of. Have you at least got to the point where you have a german xlf file? |
No, unfortunately not. The npm somehow doesn't work either. No matter what command I enter nothing comes back |
you can just copy this file and fill in the "target" sections for the german equivalent. https://raw.githubusercontent.com/UnchartedBull/OctoDash/main/src/locale/messages.fr.xlf |
once you have that I might be able to build you a version tonight that will work. |
Okay I understand that. How do I go on then? |
okay thank you very much |
Okay it's not perfect yet, but i will optimize it when it works |
Could you send me a short video recording in which you translate it with the file? |
I think the line needs to be updated.
to
|
https://github.com/UnchartedBull/OctoDash/tree/feature/german-translation I created this branch. Everything is working there. You just need to execute On a site note: The translation do need a bit of work, not a huge fan of "Sie" and I think "Du" might be better suited for something like OctoDash, plus some texts are fairly long, so they might not fit in their designated spots. |
@jneilliii updated that in the linked branch already. |
https://drive.google.com/file/d/1ZEMsNEkgBzbXCeqP38lXdsOoH-Gs44Ys/view?usp=sharing here is the deb with the included german translation |
Okay, thank you very much, I'll test it out and then improve the translations again. |
How can I actually create such a .deb? and then how do i use it? |
I have github actions on my fork of OctoDash that will build the deb files. It's part of the packaging process. Once you have the deb file, you transfer it to your pi and use the command |
|
Okay and how i can start octodash now? |
did you run through the standard install script first? I would do that and then install over the version it installs with the de one. then run |
Yes now it worked. Many Thanks. Can I actually personalize the symbols? |
Can one of you show me how I can create the .deb? |
Like I mentioned before, |
npm run pack always creates a .tgz file for me |
that's a compressed file. should be able to be extracted. on windows I use 7 zip. |
Yes I know, but I need a .deb file |
I will create this deb file |
once you extract the tgz is there no deb file inside? |
what's in the build folder? |
icon.png |
Do you know the control file for the deb creator? |
The Also please either open a new issue or continue this on the discord. We're pinging other people here for a completely unrelated issue. Thanks. |
Okay I create a new issue or should we chat with private chat? |
Discord dev or support channel probably is your best bet. |
Hello I installed octodash on my pi with a 7 inch screen in 1024x800 I am delighted with this application. I would like to know if the French translation is possible? I would like to contribute to translate the application. Is this easily done from a language file or is everything hard in the code?
Thank you
The text was updated successfully, but these errors were encountered: