Datatypes localized?

This forum is for general developer support questions.
Post Reply
User avatar
mritter0
Posts: 214
Joined: Mon Aug 25, 2014 9:41 pm
Location: Bettendorf, IA, USA

Datatypes localized?

Post by mritter0 »

When checking a file for what datatype it is

Code: Select all

if ((dt=IDataTypes->ObtainDataType(
	DTST_FILE,							(APTR)lock,
TAG_DONE)))
{
        dth=dt->dtn_Header;
	IUtility->Strlcpy(SAK_DTName,dth->dth_Name,25);
}
Is dth->dth_Name localized or just in English? Would be: ASCII, PDF, Binary, JPEG, PNG....

I would imagine some depend on the datatype itself being localized.
Workbench Explorer - A better way to browse drawers
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 530
Joined: Sat Jun 18, 2011 3:12 pm
Location: Finland
Contact:

Re: Datatypes localized?

Post by salass00 »

Is dth->dth_Name localized or just in English?
No, they are not localized.

Some are hardcoded in datatypes.library/AddDataTypes like "binary", "ascii", "iff" and "directory" and others are just read directly from the descriptor file.
Post Reply