Ecere SDK/eC Forums • View topic - $ before string literals

Ecere SDK/eC Forums

Ecere Developers Community

$ before string literals

General help with the eC language.

$ before string literals

Postby samsam598 » Tue Mar 06, 2012 4:39 am


Just noticed from ide/src/design/ that,and was wondering what's the advantage using $ before string literals?


Posts: 208
Joined: Thu Apr 14, 2011 9:44 pm

Re: $ before string literals

Postby jerome » Tue Mar 06, 2012 5:00 am

Hi Sam,

This is for internationalization purposes.

Strings that are meant to be internationalized have $ before them, and they will show up in the translation templates (the .pot files).
It is also possible to specify a context this way: $"context"."English string"

I thought I emailed you about the translations before? :)

Check out the translation system @

Cheers! :D

Site Admin
Posts: 623
Joined: Sat Jan 16, 2010 11:16 pm

Return to eC Language

Who is online

Users browsing this forum: No registered users and 2 guests