Hello!
How can I make an italian version of er9x?
Italian translation contribute
- MikeB
- 9x Developer
- Posts: 17996
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Italian translation contribute
Edit "language.h" to:
Edit the "Makefile" to:
endif
Take a copy of "en.h" and rename it to "it.h", then change the text to Italian!
Note that some of the text is a list of options e.g.
#define STR_OFF_PLUS_EQ "\003off += :="
The "\003" indicates each option is 3 characters long (do NOT change this length), then follows the options "off", " +=" and " :-".
Build using the command:
make EXT=FRSKY TEMPLATES=NO PHASES=YES LANG=IT
Mike
Code: Select all
#ifdef LANG_DE
#include "de.h"
#else
#ifdef LANG_FR
#include "fr.h"
#else
#ifdef LANG_NO
#include "no.h"
#else
#ifdef LANG_IT
#include "it.h"
#else
#include "en.h"
#endif
#endif
#endif
#endif
Code: Select all
ifeq ($(LANG), FR)
CPPDEFS += -DLANG_FR
else
ifeq ($(LANG), DE)
CPPDEFS += -DLANG_DE
else
ifeq ($(LANG), NO)
CPPDEFS += -DLANG_NO
else
ifeq ($(LANG), IT)
CPPDEFS += -DLANG_IT
endif
endif
endif
Take a copy of "en.h" and rename it to "it.h", then change the text to Italian!
Note that some of the text is a list of options e.g.
#define STR_OFF_PLUS_EQ "\003off += :="
The "\003" indicates each option is 3 characters long (do NOT change this length), then follows the options "off", " +=" and " :-".
Build using the command:
make EXT=FRSKY TEMPLATES=NO PHASES=YES LANG=IT
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!