Polyv Help Center

Help Center

Function: translate()

Updated: 2025-10-10 12:02:04

Polyv Wx Live Player Component


Polyv Wx Live Player Component / assets/lang/enter / translate

Function: translate()

translate(key, options): string

Translate multilingual text

Parameters

key

"tips.waitStart" | "tips.error" | "level.name" | "level.option0" | "level.option1" | "level.option2" | "line.name" | "rate.name" | "latency.name" | "latency.option0" | "latency.option1"

options

UniversalParams<string | number> = {}

Returns

string

联系客服,在线咨询