UKismetSystemLibrary::GetLocalCurrencyCode
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticBlueprintCallable
Description
Returns the ISO currency code (e.g. "USD", "GBP") associated with the device's current locale.
Caveats & Gotchas
- • The code is derived from the OS locale, not the player's actual billing region — it can be wrong for VPN users or misconfigured devices.
- • On platforms without locale/currency information (some consoles, headless servers) this can return an empty string.
Signature
static FString GetLocalCurrencyCode() Return Type
FString Example
Display a currency code in a store UI C++
FString CurrencyCode = UKismetSystemLibrary::GetLocalCurrencyCode();
UE_LOG(LogTemp, Log, TEXT("Local currency: %s"), *CurrencyCode); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?