Adding locale

renate.boevink
renate.boevink Product Owner @ Zolemba Spryker Customer Posts: 9 πŸ§‘πŸ»β€πŸš€ - Cadet
edited August 2023 in Spryker Development

Hey

I want add a new locale to our shops. I can add the locale to the import file but should I add it also somewhere in the code?

Tagged:

Best Answer

  • renate.boevink
    renate.boevink Product Owner @ Zolemba Spryker Customer Posts: 9 πŸ§‘πŸ»β€πŸš€ - Cadet
    Answer βœ“

    Just adding it to the stores.php. but I forgot to change the key

Answers

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 βš–οΈ - Guardians (admin)

    Heyhey,
    is this question about the locale of a store itself or about the setup of multiple stores?

    All the best,

    Florian

  • renate.boevink
    renate.boevink Product Owner @ Zolemba Spryker Customer Posts: 9 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hey, already found the solution myself.

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 βš–οΈ - Guardians (admin)

    Now I am curious :D
    What was your solution?

  • renate.boevink
    renate.boevink Product Owner @ Zolemba Spryker Customer Posts: 9 πŸ§‘πŸ»β€πŸš€ - Cadet
    Answer βœ“

    Just adding it to the stores.php. but I forgot to change the key

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 βš–οΈ - Guardians (admin)

    Ahh, ok, cool :) Thanks for sharing it with us. πŸ’ͺ

    FYI: I will move this thread out of the development environment subcategory to the general spryker dev category.

    All the best,

    Florian

  • renate.boevink
    renate.boevink Product Owner @ Zolemba Spryker Customer Posts: 9 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hey,

    Got another question regarding this item

    I have two stores UK and COM. they can share the same URL structure for pages/categories/product, but I want them to have different navigation items. Because UK has less items to sell.
    What way would be best to do this?

    Currently they both have locale en_GB but the COM should get en_US.