Hello everyone
I am new to linux programming and have this problem.
I have coded all application and I have made a simple Makefile (I have not used autoconf, just simply written by hand) and right now I am trying to localize an application.
I have created a .po file and added these lines to main
but right now as I can not make proper configure.ac and Makefile.am files, I need to specify GETTEXT_PACKAGE and LOCALEDIR manually so that while making, app can find translations and I do not know how to do that. If anyone can help me I would be very thankful.
note - every tutorial I read was about ./configure stuff and not about maually made Makefile so thats why I am asking for your help
I am new to linux programming and have this problem.
I have coded all application and I have made a simple Makefile (I have not used autoconf, just simply written by hand) and right now I am trying to localize an application.
I have created a .po file and added these lines to main
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
but right now as I can not make proper configure.ac and Makefile.am files, I need to specify GETTEXT_PACKAGE and LOCALEDIR manually so that while making, app can find translations and I do not know how to do that. If anyone can help me I would be very thankful.
note - every tutorial I read was about ./configure stuff and not about maually made Makefile so thats why I am asking for your help
Thanks Johnnnie