Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add astro to supported extensions for Javascript #841

Closed
wants to merge 1 commit into from

Conversation

Suven
Copy link

@Suven Suven commented May 4, 2024

Hey!

Thanks for Poedit (: I am using the proversion and am currently in the process of writing a skeleton / tutorial for how to setup a SEO friendly multilingual project with Astro and po-files.

Astro is a very quickly growing and already big framework for creating SSG'd websites. It's pages have an extension of .astro but contain mainly js / tsx.

My tutorial will feature how to do the basic setup with gettext and show how Poedit can be used for the actual translation. It's nearly done and I will link it within this PR soonish.

It would be cool if I could explain how to use poedit, without needing to require profeatures to beginners. I think the only missing part for that is the extension-support.

Edit: Here is the project I was talking about https://suven.github.io/astro-po-i18n/

@vslavik
Copy link
Owner

vslavik commented May 17, 2024

This PR only changes the fileviewer, not anything about actual extraction, i.e. is clearly not tested.

This does not seem to be standard localization for Astro, so I don't think this is appropriate to merge, sorry. You have the option to customize file extensions in Poedit yourself for edge cases like this.

@vslavik vslavik closed this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants