chinlin0924 / 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

GoogleCodeExporter commented 9 years ago
I'm working on a sed procedure to replace all the strings, and create in 
parallel a translate.h header file.

This is fairly well easy and speedy, than doing that at hand.

Original comment by paris...@gmail.com on 21 Dec 2010 at 11:22

GoogleCodeExporter commented 9 years ago
My files are ready, I send them to Erez.

If he's OK, I will post the translate.h file here, to give you an idea.

Original comment by paris...@gmail.com on 22 Dec 2010 at 7:38

GoogleCodeExporter commented 9 years ago
Is it possible to select language in setting menus or the selection must be 
done during flashing ?

Original comment by waral...@hotmail.fr on 4 Jan 2011 at 3:51

GoogleCodeExporter commented 9 years ago
Currently it's not possible to change the language.
When it will be possible you will need to flash the FW with the correct 
language.

Original comment by erezra...@gmail.com on 4 Jan 2011 at 5:35

GoogleCodeExporter commented 9 years ago
Is there a french version of "english.lang" ?

Original comment by waral...@hotmail.fr on 21 Jun 2011 at 3:10

GoogleCodeExporter commented 9 years ago
There a version in Spanish?
If so, it would be interesting, rather than to choose a language version, a 
version for everyone, so do not take up too much memory.
Would it be possible?

Thank you for the work you do, it's a very interesting project.

Original comment by pepesf...@hotmail.com on 13 Nov 2011 at 7:16

GoogleCodeExporter commented 9 years ago
Language specific build of er9x is now possible. At present English, German and 
Norwegian are supported. I need translated files for any other languages 
required.

Original comment by michael....@mypostoffice.co.uk on 14 Dec 2013 at 11:45

GoogleCodeExporter commented 9 years ago
Hi.
I really like your work, and still use your er9x firmware with my tg9x with 
M128 onboard. But still missing other languages (polish on my side), as it is 
possible in OpenTX. 
So my question is, have you ever anticipate to translate it in future?

Original comment by monika26...@gmail.com on 6 Jan 2015 at 6:49

GoogleCodeExporter commented 9 years ago
I need help to do the translation. If you post your request on this thread:
http://openrcforums.com/forum/viewtopic.php?f=5&t=3867&hilit=language

I can post the current en.h file with all the strings in it, and ask if you 
could translate it into a po.h.

The biggest problem is building all the different versions if there are many 
different languages.

Original comment by michael....@mypostoffice.co.uk on 6 Jan 2015 at 7:16