Hi Germán,

  Thanks! Can you send me the complete files too? I think it will be easier
for me.

Best,
Scuri


2017-05-30 3:43 GMT-03:00 Germán Arias <germanan...@gmx.es>:

> Attached the patches. Let me know if these are OK. I don't test these,
> because I assume you should make other changes to include the spanish
> translation. I will send you the patch for iup_plot.cpp later.
>
> Germán
>
> El jue, 25-05-2017 a las 10:33 -0300, Antonio Scuri escribió:
>
>   Hi,
>
>   The files are encoded in ANSI, so regular translations can use accents
> and symbols.
>
>   But since we are able to set UTF8MODE, the strings must also be encoded
> in UTF-8 in the same file. This is where those codes came from. So for the
> strings that have this codes there are actually two translations, one in
> ANSI and one in UTF-8. I usually do that in Notepad++ in an semi automatic
> way. I convert the ANSI strings to UTF-8, then re-read the strings in ANSI
> mode, so I can see the encoded UTF-8, then copy&paste in the "if
> (IupGetInt(NULL, "UTF8MODE"))" section.
>
> Best,
> Scuri
>
>
> On Thu, May 25, 2017 at 3:28 AM, Germán Arias <germanan...@gmx.es> wrote:
>
> Hi,
>
> I'm doing the translation writing directly accents and symbols like ¿. But
> in the file "iupmatex_sort.c" I see you use codes like "\332". Should I use
> codes? Or there is not problem if I write directly the characters?
>
> Germán
>
> El lun, 17-04-2017 a las 00:37 -0600, Germán Arias escribió:
>
>
> Thanks, I will check the files and start the translation. And yes, I know
> this translations are only for some widgets.
>
> Regards
> Germán
>
> El sáb, 15-04-2017 a las 23:29 -0300, Antonio Scuri escribió:
>
>   Hi,
>
>   It is needed some effort, but it is just translation. Unfortunately I
> don't have time nor I'm fluent to be confortable in doing it.
>
>   The files that need editing are:
>
> iup\src\iup_strmessage.c  (assume lng=3)
> iup\srccontrols\matrix\iupmatrix.c  (just add "if" for SPANISH in all the
> following)
> iup\srcmatrixex\iup_matrixex.c
> iup\srcmatrixex\iupmatex_find.c
> iup\srcmatrixex\iupmatex_sort.c
> iup\srcmatrixex\iupmatex_undo.c
> iup\srcplot\iup_plot.cpp
>
>   Any contribution would be much appreciatted.
>
>   Just noticed that some pre-defined native dialogs, like IupFileDlg will
> use the system language regardless the language set in IUP.
>
> Best Regards,
> Antonio Scuri
>
>
> On Sat, Apr 15, 2017 at 10:54 PM, Germán Arias <germanan...@gmx.es> wrote:
>
> How hard can it be make IUP available in Spaish? If this is not too
> hard, I can contribute with this.
>
> Regards
> Germán
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
> _______________________________________________
> Iup-users mailing 
> listIup-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/iup-users
>
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to