IRremoteESP8266
i18n.h
Go to the documentation of this file.
1 // Copyright 2019 - David Conran (@crankyoldgit)
2 
3 #ifndef I18N_H_
4 #define I18N_H_
5 
6 #include "IRremoteESP8266.h"
7 
8 // Load the appropriate locale header file.
9 #ifndef _IR_LOCALE_
10 #define _IR_LOCALE_ en-AU
11 #endif // _IR_LOCALE_
12 
13 #define ENQUOTE_(x) #x
14 #define ENQUOTE(x) ENQUOTE_(x)
15 
16 // Load the desired/requested locale.
17 #ifdef _IR_LOCALE_
18 #include ENQUOTE(locale/_IR_LOCALE_.h)
19 #endif // _IR_LOCALE_
20 
21 // Now that any specific locale has been loaded, we can safely load the defaults
22 // as the defaults should not override anything that has now set.
23 #include "locale/defaults.h"
24 
25 #endif // I18N_H_
defaults.h
IRremoteESP8266.h