Skip to content

Latest commit

 

History

History
116 lines (105 loc) · 2.47 KB

Localization.md

File metadata and controls

116 lines (105 loc) · 2.47 KB

Blazor server-side

Localization

Index

English is the default laguage. But you can use other languages. You have to create a CultureInfo on the razor page and pass it as parameter in the contructor of the GridClient object:

    var locale = new CultureInfo("de-DE");
    var client = new GridClient<Order>(q => orderService.GetOrdersGridRows(columns, q), query, false, "ordersGrid", Columns, locale);

Supported languages

  • English (default)
  • German
  • French
  • Italian
  • Russian
  • Spanish
  • Norwegian
  • Turkish
  • Czech
  • Slovenian
  • Swedish
  • Serbian
  • Croatian
  • Farsi
  • Basque
  • Catalan
  • Galician
  • Brazilian Portuguese
  • Bulgarian
  • Ukrainian
  • Arabic
  • Danish
  • Simplified Chinese
  • Traditional Chinese
  • Japanese

Right to left direction

Those languages that require right to left direction are also supported. You must configure the grid to user RTL direction using the SetDirection method of the GridClient object:

    var client = new GridClient<Order>(q => orderService.GetOrdersGridRows(columns, q), query, false, "ordersGrid", Columns, locale)
        .SetDirection(GridDirection.RTL);

Additional languages

If you need to support other languages, please send me the translation of the following expressions and I will updete the component:

  • --- Select an item ---
  • Add
  • All
  • And
  • Apply
  • Average
  • Back
  • Clear all filters
  • Clear filter
  • Code
  • Code and confirmation code must be equal to delete this item
  • Code and confirmation code must be equal to save this item
  • Confirm Code
  • Contains
  • Create item
  • current (actual)
  • Delete
  • Delete item
  • Drop columns here for column extended sorting
  • Drop columns here for column grouping
  • Duplicated
  • Edit
  • Ends with
  • Equals
  • Files
  • Filter this column
  • Go to
  • Greater than
  • Greater than or equals
  • Height
  • Is not null
  • Is null
  • Items
  • Less than
  • Less than or equals
  • Max
  • Min
  • No
  • None
  • Not duplicated
  • Not equals
  • Or
  • Read item
  • Save
  • Search for ...
  • Search phrase
  • Select
  • Show
  • Starts with
  • Sum
  • There are no items to display
  • There was an error creating the new item
  • There was an error deleting this item
  • There was an error updating this item
  • Type
  • Update item
  • Value
  • View
  • Yes
  • You must select the row you want to delete
  • You must select the row you want to edit
  • You must select the row you want to view

<- Setup initial column filtering | Data annotations ->