WIP
Parse localized strings
let text = "Simeple text with a {variable}!"
paparsya(text, { variable: 'Whatnot' })
let text = "{comp:count, 1 {{count} User}, default {{count} Users}}"
paparsya(text, { count: 3 })
{variable}
{function:, }
Compare: {comp:, {}, {}, default {}}
Examples {comp:number, 1 {Number is one!}, default {Number is: {number}}} {comp:region, eu {Europe!}, us {US!}, default {Other}}
Plural: {plural:count, one {}, zero {}, other {}}
Example: {plural:count, one {{count} User}, other {{count} Users}}