Skip to content

Currency Localisation Not Working #448

Description

@SmolSoftBoi

My locale is en and I have a price in GBP that I want to format as a currency using lang().

$price = 7.14; // GBP
lang('{price, number, currency}', [
    'price' => $price
]);

Outputs: ¤7.14 instead of £7.14. There's no way of specificying the currency to use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions