mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-09-28 15:14:45 +02:00
Update Methods.md
This commit is contained in:
parent
08eb1554f3
commit
75227ba11b
@ -167,7 +167,7 @@ init({
|
|||||||
|
|
||||||
> `import { getLocaleFromHash } from 'svelte-i18n'
|
> `import { getLocaleFromHash } from 'svelte-i18n'
|
||||||
|
|
||||||
`getLocaleFromHash(): string`
|
`getLocaleFromHash(hashKey: string): string`
|
||||||
|
|
||||||
Utility method to help getting a initial locale based on a hash `{key}={value}` string.
|
Utility method to help getting a initial locale based on a hash `{key}={value}` string.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user