How to enable localization for Angular 18 SSR on Firebase App Hosting?

Discussão em 'Angular' iniciado por p_escobr, Outubro 14, 2024.

  1. p_escobr

    p_escobr Guest

    I’m hosting an Angular 18 SSR project on Firebase's new App Hosting service. I need to set up localization (e.g., /en, /tr paths). Do I need to configure nginx for this, or does Firebase App Hosting natively support routing and language-based configurations? I didnt find any explanation on documentation due to it is a little bit new service.

    I tried the way that is documentation mentions. I faced problem on baseHref. I defined baseHref for all defined locales but no way routing is not working. Then I realized that Angular doc. says "use nginx or apache" for this. I m confused a little bit. Does Firebase App Hosting have a built-in solution for this process?
    Thank you.

    Continue reading...

Compartilhe esta Página