The internationalization of element-ui

  1. internationalization uses i18n so that static fonts can be switched in multiple languages after configuration.
  2. I made i18n compatible according to element-ui "s official website.
  3. the question is, how can I switch the words in element-ui components, such as messageBox, to English when I am using them?
            this.$prompt("", "", {
              confirmButtonText: "",
              cancelButtonText: "",
              inputValue: ""
            }).then(({ value }) => {
              this.$message({
                type: "success",
                message: ": " + value
              });

take the above code as an example, I would like to ask you how to switch the language of the content of the messageBox pop-up box.


this.$t ('message.logout')

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3585b-4d63b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3585b-4d63b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?