Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method LanguageService.prototype.getTranslationFunc
import { LanguageService } from "https://deno.land/x/freshlate@0.4.1/freshlate/translation.ts";

Returns a new function for translating to a specific language replacing the t method

Parameters

lang_code: string

The language code to use