multilanguages icon indicating copy to clipboard operation
multilanguages copied to clipboard

Develop a translation CLI to translate and manage the translation files within the projects easier

Open aksoftware98 opened this issue 3 years ago • 12 comments

Develop a new command line interface that contains some commands to manage, delete, add, translate, and move the translation files. And make it easier for the user to make the operations

aksoftware98 avatar Oct 05 '22 06:10 aksoftware98

@aksoftware98 Thanks so much for providing this library. I am using your library in my project. I created some code for a number of things including:

  1. The ability to automatically modify both the razor file and the associated razor.cs file and create key value pairs in the en-US.yml. See https://github.com/GregFinzer/BedBrigadeNational/blob/develop/BedBrigade.SpeakIt/SpeakItLogic.cs The usage is here: https://github.com/GregFinzer/BedBrigadeNational/blob/develop/BedBrigade.SpeakIt.Tests/CreateTests.cs
  2. It tests to ensure strings inside all razor files are localized. See here: https://github.com/GregFinzer/BedBrigadeNational/blob/develop/BedBrigade.SpeakIt.Tests/VerifyLocalization.cs
  3. It tests to make sure there are no duplicate values in the key value pairs.
  4. It tests to ensure any keys that are in use in the razor files can be found in the resource file.
  5. It tests to ensure all keys are in use in the razor files.

GregFinzer avatar Oct 01 '24 17:10 GregFinzer

Here is my Localization documentation for my developers so far:

https://github.com/GregFinzer/BedBrigadeNational/blob/develop/Documentation/Localization.md

GregFinzer avatar Oct 01 '24 17:10 GregFinzer

Hi @GregFinzer Thank you so much for your interest, feedback and your great additions, I will take a look at them this weekend!

aksoftware98 avatar Oct 04 '24 14:10 aksoftware98

@aksoftware98 I thought about making a PR of all my changes. However, I saw that you have a another big PR that you need to review first. https://github.com/aksoftware98/multilanguages/pull/52

It would be fairly easy to make a console application to do the above. I can write that as well. I have moved things around.

This is the parse logic: https://github.com/GregFinzer/BedBrigadeNational/blob/develop/BedBrigade.SpeakIt/ParseLogic.cs

This is the creation logic: https://github.com/GregFinzer/BedBrigadeNational/blob/develop/BedBrigade.SpeakIt/CreateLogic.cs

GregFinzer avatar Oct 04 '24 15:10 GregFinzer

That's very cool, I think that PR requires a lot of work, so I will focus on your changes for now. Tomorrow I will be looking deeply at your changes and see how we can merge them.

Really appreciate your hard work.

aksoftware98 avatar Oct 04 '24 15:10 aksoftware98

My email is [email protected]. I am on Teams and Slack. I can can integrate my code and also start working some of your other issues. There are requests in there that I need in my project. We should have a discussion so we are on the same page.

GregFinzer avatar Oct 04 '24 16:10 GregFinzer

That's brilliant, I will ping you tomorrow to coordinate, this will make this package way more valuable and bring it to life again.

Thanks

aksoftware98 avatar Oct 04 '24 16:10 aksoftware98

I am the president of Bed Brigade. We are building 50 beds tomorrow. I will be available after 2pm Eastern time.

https://www.bedbrigadecolumbus.org

GregFinzer avatar Oct 04 '24 16:10 GregFinzer

Looks like I am going to a football game tomorrow. Just email me and I will email you back.

GregFinzer avatar Oct 04 '24 23:10 GregFinzer

Oh amazing, Let me know your schedule for today or during the week, what time does it work for you and I will make myself available for it

aksoftware98 avatar Oct 06 '24 15:10 aksoftware98

I am free anytime tomorrow (Monday) from 9am to 9 pm Eastern. Send me an email.

GregFinzer avatar Oct 06 '24 16:10 GregFinzer

Sent you an emai!

aksoftware98 avatar Oct 06 '24 21:10 aksoftware98