andmarti1424 / sc-im

sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
Other
4.86k stars 207 forks source link

i18n support #735

Closed bitigchi closed 1 year ago

bitigchi commented 2 years ago

It would be great to be able to translate sc-im to different languages.

I am planning to have a take at this in a couple of months with gettext, any pointers in advance are appreciated.

andmarti1424 commented 2 years ago

What would you like to translate? The doc file? We don't have menus in here

bitigchi commented 2 years ago

For starters, sc_infos and sc_errors would suffice (plus intro screen, mode names etc.). Documentation would definitely follow.

andmarti1424 commented 2 years ago

Hello @bitigchi . Do you have any progress on this? Thanks.

bitigchi commented 2 years ago

Hello @bitigchi . Do you have any progress on this? Thanks.I have some progress but nothing ready to commit yet. This is on my to-do list still, I will get back to it eventually.

bitigchi commented 2 years ago

I've fiddled with it some more, but my lack of knowledge of C compiler ways really slows me down. Whilst implementing the feature is dead simple (just include libintl.h, set a macro and enclose the strings, then create a .pot file with xgettext), I get all sorts of compiler nagging on my macOS machine, and it will take some time for me to educate myself on C and various stuff.

andmarti1424 commented 1 year ago

Hello @bitigchi . Do you have any progress on this? Thanks.

bitigchi commented 1 year ago

No, not recently sorry. I plan to revisit in the future though if no one steps up in the meantime.

andmarti1424 commented 1 year ago

ok @bitigchi no problem