TheFin / er9x

Automatically exported from code.google.com/p/er9x
0 stars 0 forks source link

multi language selection #204

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What new feature/ability do you want?
Language selection menu in Radio setup

What is the expected output?
French Localisation of eepe is pretty good so multi languages traduction for  
er9x menus could be interesting too.
What version of the product are you using?
r288

Please provide any additional information below.

Original issue reported on code.google.com by waral...@hotmail.fr on 20 Dec 2010 at 4:39

GoogleCodeExporter commented 9 years ago
This has cropped up from time to time.
eePe is built with Qt which has a lot of tools for handling languages.  ER9x 
OTOH is a custom embedded system.  It's not impossible to make it 
"translatable" but it does require quite a lot of work.

What I plan on doing is create a separate header file with all the strings.  
We'll be able to edit that file and change certain strings to accommodate 
different languages.  Lot's of work but it is an issue which I'd like to solve!

Original comment by erezra...@gmail.com on 21 Dec 2010 at 7:03

GoogleCodeExporter commented 9 years ago
As an exercise, I've extracted all the char strings in er9x.

There are approximately 223 different strings.

I attach the file with my results.

Original comment by paris...@gmail.com on 21 Dec 2010 at 1:18

Attachments:

GoogleCodeExporter commented 9 years ago
Excellent!

How did you manage to do that?

Original comment by erezra...@gmail.com on 21 Dec 2010 at 4:11

GoogleCodeExporter commented 9 years ago
grep's your friend. :-)

But no, I did that using a Windows text editor.

I've already extracted the strings from frsky.cpp to put them in the header 
file.

It's no as easy as I thought, maybe a sed procedure can do the work more 
quickly.

Original comment by paris...@gmail.com on 21 Dec 2010 at 7:32