Skip to content

[Question] How to localize #67

Closed
Closed
@NikoGrano

Description

@NikoGrano

How can I localize https://github.com/coreui/coreui-vue/blob/master/src/components/table/CDataTable.vue#L147?

This is just one example.

If this is something what havent been discussed or think about, I could create there new prop, called localization. That would be object with example data of

localization: {
    error-no-results: string = 'No filtering results',
    error-no-items: string = 'No items',
    
}

This is just pure thinking on the spot, but hardcoding these in english into the component, is not really the way to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions