Hi mostafaforuji,
To enable the portal localization you will need to change the default ResourceProviderModel in the web.config file and set it to DBResourceManager.
<
ResourceProviderModel
defaultProvider
=
"DBResourceManager"
>
Also, the LocalizationConnectionStringKey must match your connection string name.
Regards