microsoft / vscode-loc

VS Code Localization Extension
Other
535 stars 294 forks source link

Is there a way to update strings from te extension itself? #1641

Closed ArthurLobopro closed 3 weeks ago

ArthurLobopro commented 4 weeks ago

One month ago I suggested some changes on PT-BR translation that were applied, but until today there is no an extension update applying those changes. If there is a server with the updated translations, is there a way to create some API to update the current strings from the extension itself?

I am suggesting something like, the extension one time a day make a request to a server like: https://vscode-translations/PT-br/lastest and the server returns a full JSON with the translations. So the extension updates the local translations database and apply the new changes.

csigs commented 3 weeks ago

Thank you for your feedback. We are currently reviewing it (reference 978059).

crsuzukimsft commented 3 weeks ago

@TylerLeonhardt would you be able to check on this?

TylerLeonhardt commented 3 weeks ago

@ArthurLobopro Can you tell us what translation you are referring to?

ArthurLobopro commented 3 weeks ago

@TylerLeonhardt when I said I make some suggestions that were applied but there is no a new version with the changes I am referring to the PT BR translation. But with my question I am talking about any translation, if there is a way to the extension update itself using a server with translations, the users will not need to wait a new version of the translation extension with the applied changes.

ArthurLobopro commented 3 weeks ago

Here are the sample what I am talking about, the Issues #1601, #1602 and #1603 was closed with the strings applied here, but the PT BR language extension Portuguese (Brazil) Language Pack for Visual Studio Code last update were in
01/05/2024 (1 month and 2 weeks ago). So, 3 translation fixes still missing on the latest PT BR language extension.

If the extension can update itself from a server or from this repo, the fixes can be applied imediatly.

TylerLeonhardt commented 3 weeks ago

Thanks for bringing this to my attention, @ArthurLobopro, it looks like we had something blocking the release of new versions of the language packs... that has now been unblocked so you should get a new version of a language pack soon (probably in the next 10min or so). Can you try out the language pack (make sure you grab the latest version) and let me know how it goes?

ArthurLobopro commented 3 weeks ago

@TylerLeonhardt now it's working. The new version implements the fixes correctly!

TylerLeonhardt commented 3 weeks ago

Thank you for helping make the language packs more accurate, @ArthurLobopro!