Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method LanguageService.prototype.getTranslationFunc
import { LanguageService } from "https://deno.land/x/freshlate@0.4.0/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