kiota icon indicating copy to clipboard operation
kiota copied to clipboard

Task: Check for missing translations

Open thewahome opened this issue 1 year ago • 3 comments

Overview

It's easy to forget to update the translation files after a feature is done. It would help us to add a new check to show us the missing translations available

Closes #5607

Notes

Introduces a script file that checks the missing translations and generates readable text for the items

Demo

Language File Untranslated Strings
bundle.l10n.ar.json (12 found)
  • Generation completed successfully.
  • Migration failed: ${error}
  • Name
  • Open File
  • Plugin ${this._clientKey} re-generated successfully.
  • Plugin generated successfully.
  • The kiota version for {0} '{1}' will be changed from {2} to {3}, update your dependencies
  • The kiota version for all clients and plugins will be changed to {0}, update your dependencies
  • Type
  • Version
  • When regenerating, all changes made manually to the generated files will be overridden.
  • You can now select the required endpoints from {0}

thewahome avatar Oct 15 '24 10:10 thewahome

@thewahome quick spot check. The generated artifact shows this output and I believe it's a false positive? The strings are present in the I10n folder files for the languages. Also, there's some duplication on strings like OK, a single return is more clearer? image

musale avatar Oct 15 '24 13:10 musale

Thanks @musale and @baywet for taking the time to look at it.

I hadn't appropriately marked this as a draft. And it's currently in POC. Your input is greatly appreciated as it will go along way in making sure that the work is complete.

I am also going to add an issue so that this work is triaged and tracked.

thewahome avatar Oct 15 '24 14:10 thewahome