getLocalesPlaceholder
Allows you to get the locales inside of getStaticPaths
. It’s a build time macro.
That means it will be replaced by it’s literal value. For instance:
Will be replaced by the following, no matter the context:
Be careful not to use getLocalesPlaceholder
in interpolations or it could result in invalid code.