#Translation dashboard

7 messages · Page 1 of 1 (latest)

gusty cloak
#

Hey! Is it possible to generate a single-page dashboard tracking translation progress for my personal docs too (build with Starlight)? Is there a template or some npm package which does exactly this?

fading gulchBOT
#

Hi @gusty cloak. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Astro has a custom Translation Tracker that tracks every docs page marked as “available to translate” by language and reports its current state. It's led by Astro maintainer Hippo and is used to track the translation status of Astro's own documentation. It uses the git history to compare changes between languages, defines the status of each page through some checks, and also generates a GitHub link with all the commits a page needs to be in sync with the English version. It’s powered by GitHub Actions, right out of their docs repo (source (https://astro.build/blog/astro-i18n/)).

However, the extracts provided do not mention a specific template or npm package that you can use to implement a similar Translation Tracker for your personal docs built with Starlight. It seems like this is a custom solution developed by the Astro team.

If you're interested in implementing a similar solution, you might need to create a custom tool that uses similar techniques. You could use GitHub Actions and the git history of your project to track the translation status of your documents.

Remember to always ensure that your solution is tailored to the specific needs and structure of your project.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@gusty cloak kapa.ai is still learning and improving, please let us know how it did by reacting below

gusty cloak
#

@fading gulch How can I use the Translation Tracker from Starlight to build my own one? What would I need to change and what do I need to copy?

fading gulchBOT
#

Let me check the knowledge base for you. One moment! :books:

#

I'm sorry, but the provided extracts do not contain specific information on how to use the Translation Tracker from Starlight to build your own. The extracts mention that Astro's Translation Tracker is a custom tool developed by their team, but they do not provide the source code or specific instructions on how to implement it in your own project.

The Translation Tracker uses git history to compare changes between languages, defines the status of each page through some checks, and generates a GitHub link with all the commits a page needs to be in sync with the English version. It’s powered by GitHub Actions (source (https://astro.build/blog/astro-i18n/)).

To implement a similar solution, you would likely need to have a good understanding of how to work with git history and GitHub Actions. However, without more specific information or access to the source code of the Translation Tracker, it's difficult to provide detailed instructions.

I recommend checking Astro's official documentation or reaching out to their community for more information.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: