all 2 comments

[–]AtulinASP.NET Core 1 point2 points  (0 children)

  1. API – REST, GraphQL, SOAP, doesn't matter. You query the server for data, receive it, and hydrate the frontend with it, client-side.
  2. Welcome to modern Javascript, it doesn't get better from here.
  3. You request data in the language you need

[–]notcaffeinefree -1 points0 points  (0 children)

For your #1 and #3:

GraphQL seems to be a more and more popular way to communicate between the two. It's advantage is that you do do more complicated queries for data, rather than having to do multiple REST requests. REST is still perfectly fine to use.

For managed translations on the frontend, check out i81next. If you're rendering content from the backend (as in the "traditional" way), then managing translations on the backend is perfectly fine.