Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap-table : text in Chinese

I use bootstrap table in one of my web page.
Bootstrap table : link

I have a little and funny problem : screenshot

As you can see boostrap table texts are in chinese. How to change the language ?

like image 435
damien marchand Avatar asked Feb 11 '23 16:02

damien marchand


1 Answers

A mistake with cdn.

In bootstrap-table web site in Getting started the CDN link is :

<!-- Latest compiled and minified Locales -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.6.0/locale/bootstrap-table-zh-CN.min.js"></script>

It's the chinese CDN.

Others CDN are here : list of CDN

like image 168
damien marchand Avatar answered Feb 13 '23 07:02

damien marchand