Skip to main content
The Deno 2 Release Candidate is here
Learn more
method LocalisationService.prototype.getText
import { LocalisationService } from "https://deno.land/x/sptaki@1.2.0/services/LocalisationService.d.ts";

Get a localised value using the passed in key

Parameters

key: string

Key to loop up locale for

optional
args: any

optional arguments

Returns

string

Localised string