Better HN
topnewbestaskshowjobs
Log inSign up

jthompson4004

26 karma · joined Dec 11, 2023 (2y ago) · 8 submissions

Submissions

comment 2y ago · link · parent

Which translations feel unnatural at the moment so we can check into it? Right now we're still figuring out pricing, so everything is free at the moment in our pilot stage.

comment 2y ago · link · parent

We do have it translated into 13 languages right now, which language is your browser set to so we can add it?

comment 2y ago · link · parent

It should switch to the appropriate language based on your browser settings. If you're in Chrome, make sure that in Settings > Languages, your language is at the top of the list.

comment 2y ago · link · parent

Ahh okay, that makes sense. There are two possible approaches we could take, one would be creating some kind of E2E testing that would detect overflows/things like that, or integrating into existing tests, but that would probably require a lot of work for people. The other thing is, like Burj (Brendan) mentioned, integrating with PostHog session replays and the like and detecting overflows from there. Probably leaning towards the latter just for ease of use.

comment 2y ago · link · parent

Yup, we use a very similar library on the backend, we just layer a few things on top of it, like our VSCode extension that scans through the app and auto-wraps user-facing strings for translation, build-time translation, automatic context, etc.

If you've got a big codebase, the VSCode extension can be super helpful for setting up.

comment 2y ago · link · parent

Yeah, we detect off the browser what locale we should switch into. As for UI tests, we're doing that ad-hoc right now for everybody, but what was your favorite approach to that? I'd love to look into what the best ways people handled that in the past and how we can improve on it

comment 2y ago · link · parent

Right now we actually do have React Native support, it is now in our docs! As for adding manual context, we're planning on adding that, but we don't want people to go overboard with adding additional context where it's not needed. We want to have suggestions for if we need additional context beyond what we get from the tree traversal. Also, in terms of tone/regional dialect, that's something we're adding into the dashboard so that all translations will have that info passed to the LLM to maintain consistency throughout the app!

8.

Launch HN: Quetzal (YC S24) – Stripe for Internationalization

48 points · by jthompson4004 · 2y ago · 37 comments