January 25, 2016
On Sunday, 24 January 2016 at 19:18:28 UTC, Gerald wrote:
> On Monday, 18 January 2016 at 09:04:48 UTC, Luis wrote:
>> Please, write a HowTo some where. GtkD lack of documentation it's very anoying.
>
> I've gotten this going with Terminix and posted some information what it took to get it going here:
>
> http://gexperts.com/wp/gtkd-and-localization/

:thumbsup:
November 28, 2017
On Sunday, 24 January 2016 at 19:18:28 UTC, Gerald wrote:
> On Monday, 18 January 2016 at 09:04:48 UTC, Luis wrote:
>> Please, write a HowTo some where. GtkD lack of documentation it's very anoying.
>
> I've gotten this going with Terminix and posted some information what it took to get it going here:
>
> http://gexperts.com/wp/gtkd-and-localization/

I tried this out but I get this compile error:
  "Error: static variable c_g_dgettext cannot be read at compile time"

Did you have any issues like this?

November 30, 2017
On Tuesday, 28 November 2017 at 07:39:19 UTC, Ivan Trombley wrote:
> On Sunday, 24 January 2016 at 19:18:28 UTC, Gerald wrote:
>> On Monday, 18 January 2016 at 09:04:48 UTC, Luis wrote:
>>> Please, write a HowTo some where. GtkD lack of documentation it's very anoying.
>>
>> I've gotten this going with Terminix and posted some information what it took to get it going here:
>>
>> http://gexperts.com/wp/gtkd-and-localization/
>
> I tried this out but I get this compile error:
>   "Error: static variable c_g_dgettext cannot be read at compile time"
>
> Did you have any issues like this?

Nope, you can see how Tilix is doing localization in it's repo below. I haven't looked at the localization code in awhile so I can't remember how well it still aligns with that blog post.

https://gitHub.com/gnunn1/tilux
November 30, 2017
Gerald, I'd like to learn how to make deb packages, could you share your scripts etc you use to build packages for tilix?
Thank in advance)

November 30, 2017
On Thursday, 30 November 2017 at 00:50:35 UTC, Gerald wrote:
> On Tuesday, 28 November 2017 at 07:39:19 UTC, Ivan Trombley wrote:
>> On Sunday, 24 January 2016 at 19:18:28 UTC, Gerald wrote:
>>> On Monday, 18 January 2016 at 09:04:48 UTC, Luis wrote:
>>>> Please, write a HowTo some where. GtkD lack of documentation it's very anoying.
>>>
>>> I've gotten this going with Terminix and posted some information what it took to get it going here:
>>>
>>> http://gexperts.com/wp/gtkd-and-localization/
>>
>> I tried this out but I get this compile error:
>>   "Error: static variable c_g_dgettext cannot be read at compile time"
>>
>> Did you have any issues like this?
>
> Nope, you can see how Tilix is doing localization in it's repo below. I haven't looked at the localization code in awhile so I can't remember how well it still aligns with that blog post.
>
> https://gitHub.com/gnunn1/tilux

Page not found, 404.


BTW, this is what I tried:

import glib.Internationalization;

string t(string text)
{
  return Internationalization.dgettext([], text);
}

That generates these errors:

~/.dub/packages/gtk-d-3.7.2/gtk-d/generated/gtkd/glib/Internationalization.d(103,23): Error: static variable c_g_dgettext cannot be read at compile time
~/.dub/packages/gtk-d-3.7.2/gtk-d/generated/gtkd/glib/Internationalization.d(103,22):        called from here: toString((*c_g_dgettext)(toStringz(domain), toStringz(msgid)), 0LU)
November 30, 2017
it was typo, should be https://gitHub.com/gnunn1/tilix
November 30, 2017
Figured it out. I was initializing some member strings where they were declared in a class. I just needed to move that initialization to the constructor.
1 2
Next ›   Last »