Hi Gustavo,
This reference is stored in CMS_Category database table in CategoryDisplayName column. If the category name isn't translated then this column will contain just display name (e.g. "My Category"). If it is translated, instead it will contain resource key, e.g. "{$custom.MyCategory$}". Basically, you can check the format in this column, if it matches the localization macro pattern - then there it is!