Skip to content

Commit 8793625

Browse files
committed
39 Start adding indo table but need response on Juerd/ESP-WiFiSettings#46
1 parent dfbea2e commit 8793625

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

system_wifi.cpp

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
Wifi Configuration and connection
33
Based on the example from https://github.com/Juerd/ESP-WiFiSettings
4+
5+
Note language support is for text displayed in the portal, others like filenames and debug texts are intentionally left in Engish.
46
*/
57

68
#include "_settings.h" // Settings for what to include etc
@@ -134,6 +136,13 @@ void setupLanguages() {
134136
T.Project = F("Proyek");
135137
}
136138
#endif
139+
#if defined LANGUAGE_ID || defined LANGUAGE_ALL
140+
if (WiFiSettings.language == "id") {
141+
T.MqttServer = F("MQTT server");
142+
T.DeviceName = F("Nama Perangkat");
143+
T.Project = F("Proyek");
144+
}
145+
#endif
137146
}
138147

139148
// Note this is blocking - so order is important, in particular it must complete this before trying xMqtt::setup

0 commit comments

Comments
 (0)