You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a preferred language property to the Client, so that, for example, when there are multiple language strings in a call to Single(), the one with the preferred language will be returned.
Results() => ["color"@en-US, "colour"@en-GB, "couleur"@fr-FR"]
By default, Single returns first item.
Single() => "color"
If the preferred language is set and a string with that language suffix exists, it is returned instead.
client(..., "fr-FR")
Single() => "couleur"
The text was updated successfully, but these errors were encountered:
Add a preferred language property to the
Client
, so that, for example, when there are multiple language strings in a call toSingle()
, the one with the preferred language will be returned.The text was updated successfully, but these errors were encountered: