How can I translate those translatable texts defined in t() in contribute/custom modules?
You can use the Translation template extractor module to extract all the t() calls you've done.

Another option is to get the t()processed, by viewing the pages where they are defined and then translate them in the interface you mention. (New strings will only be added once they have appeared once).