• i want to change locale on frontend.for example using
    if is_home.after that use redirect to home for refresh and changes take place its effect.is it right and proper way?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Topher

    (@topher1kenobe)

    Take a look at the weglot plugin. You don’t have to use it to translate, but it does a good job detecting locale in the browser and redirecting where you want it to go.

    Thread Starter majidazad

    (@majidazad)

    thanks.
    its very good.
    but here i need to detect user locale to customize fore example search result.

    Thread Starter majidazad

    (@majidazad)

    and i want having to front page for two languages.

    Thread Starter majidazad

    (@majidazad)

    home page to be in two language based on user selection.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘change locale’ is closed to new replies.