go-admin icon indicating copy to clipboard operation
go-admin copied to clipboard

[BUG] i8n issue of pagination

Open bidzhao opened this issue 2 years ago • 2 comments

Bug Description [describe the bug in detail]

Use "language: en" in the config file, but the pagination info is still shown in Chinese, "10 条/页".

How to reproduce [describe the steps how to reproduce the bug]

Expect [describe your expect result]

Reproduction code [here to show your codes or examples]

Versions

  • GoAdmin version: [1.2.24]
  • golang version: [1.19]
  • Browser: [Firefox]
  • OS: [mac OS]

Others [screenshots or others info here]

Screenshot 2023-01-17 at 19 28 17

bidzhao avatar Jan 17 '23 11:01 bidzhao

thenick775 avatar Mar 23 '24 20:03 thenick775

You can vendor it and change one row at vendor/github.com/GoAdminGroup/themes/sword/template.go:1395

mikhailbuslaev avatar Mar 27 '24 15:03 mikhailbuslaev