-
Para Casa
Modems/ Gateways
A sua porta de acesso à internet
Expansão de Rede
Forma mais fácil para expandir e melhorar a sua rede
SOHO Switches
Conexões de qualidade através de cabo de rede
Adaptadores
Equipe os seus equipamentos com um acesso Wi-Fi mais rápido
Acessórios
Tudo o que precisa para um estilo de vida conectado
-
Smart Home
Câmaras Cloud
Um olhar no que é importante
Smart Plugs
Autonomia nos equipamentos domésticos
Smart Bulbs
Luz para todas as ocasiões
-
Para Empresas
JetStream Switches
Rede com fios de alta velocidade com e sem gestão L3
Omada EAP Series
Professional business Wi-Fi with centralized management
Omada Cloud SDN
A solução Wi-Fi Cloud inteligente para redes de negócios
Pharos Wireless Broadband
Ideal para redes Wi-Fi bridge ponto a ponto de longo alcance
SafeStream Router
Secure VPNs e Gateways de balanceamento de carga para negócios
-
Para ISP
DSL
Capable of high-speed network and integrated broadband applications
LTE/3G
Maintains internet access wherever you go.
PON
The leading technology for delivering gigabit Internet services
Powerline Adapter
Transforms electrical wiring to carry the network signal.
Range Extender
Easily expand your Wi-Fi coverage.
Switches
Boosts your business network with premium performance.
Business Wireless
Takes your enterprise Wi-Fi to new levels.
How to Change the Language of the Printed Voucher Code?
By default, the EAP/Omada Controller supports English language only. So when you print the Voucher code and hand it over to the customer, it’s in English as shown in the picture below.
Some customers may want to localize the language or customize the information on the Voucher Code. This document will introduce an easy and practical way to achieve this.
Steps
- Run the EAP Controller first. This is a mandatory step.
- Find the installation path of the EAP Controller, by default, it’s “C:\Program Files (x86)\TP-LINK”. And then go further to the path “C:\Program Files (x86)\TP-LINK\EAP Controller\work\com.tp-link.eap.web\webapp\WEB-INF\jsp\hotspot” and find the print.jsp file. This file defines the print operation of the Voucher Code, and we can change the info on the Voucher code by modifying this file.
- Please open the print.jsp file with the notebook and then find the getStatus(voucher) function:
function getStatus(voucher) {
return "Valid for " + transferTime2(voucher.duration * 60);
}
Here we modify the function as below
function getStatus(voucher) {
return "VALID FOR" + transferTime2(voucher.duration * 60);
}
- Then find the getType(voucher) function:
function getType(voucher) {
if (voucher.type == 0) {
return "with single use";
} else {
return "with " + voucher.quota + " online user(s)";
}
}
Here we modify the function as below
function getType(voucher) {
if (voucher.type == 0) {
return "WITH SINGLE USE";
} else {
return "WITH " + voucher.quota + " ONLINE USER(S)";
}
}
- Save the changes and then print the Voucher codes, the effects are shown as follow:
Note: all the changes will be restored to the default after you restart the EAP/Omada Controller.
A sua resposta ajuda-nos a melhorar o nosso site.