Skip to content

defaultLocal #17

@JohnKaleson

Description

@JohnKaleson

I think that
18. line: this.defaultlocal = 'en';
&
97. line: X18n.prototype.setDefault = function(local) {
98. line: this.defaultLocal = local;
should all be written defaultLocal rather than defaultlocal.
Now, when I setDefault to other language than 'en' I got 2 props in my x18n object:
defaultlocal: "en"
defaultLocal: "any_other_lang"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions