Home / Languages / Language Files

Language Files

Structure, contexts (auth, client, cart)

What it is

Language files are organised by context. Keys like auth.login, client.dashboard.

How it works

Lang::__('context.key', 'default'). Contexts: auth, client, admin, cart, etc.

How to set up

Create files matching structure. Use keys in templates.

Was this helpful?