import { LocalisationService } from "https://deno.land/x/sptaki@1.2.0/services/LocalisationService.d.ts";
Handles translating server text into different langauges
Methods
getKeys(): string[]
Get all locale keys
getRandomTextThatMatchesPartialKey(partialKey: string): string
From the provided partial key, find all keys that start with text and choose a random match
getText(key: string, args?: any): string
Get a localised value using the passed in key