funkyremi / vscode-google-translate

Translate text right in your code
MIT License
133 stars 39 forks source link

Translate yaml / properties files #80

Open kamilbeben opened 2 years ago

kamilbeben commented 2 years ago

Hi, many popular frameworks handles i18n using .yaml, or .properties files. It would be handy to be able to translate whole file at once (excluding i18n keys of course).

Example From

production-order:
  view-name: Production order
  editor-field:
    completion-term: Completion term
production-order.view-name=Production order
production-order.editor-field.completion-term=Completion term

To

production-order:
  view-name: Zlecenie produkcyjne
  editor-field:
    completion-term: Termin realizacji
production-order.view-name=Zlecenie produkcyjne
production-order.editor-field.completion-term=Termin realizacji

If you're on board with this feature i've forked your project and created a pull request.