Go to package manager and click the plus icon.
Then ADD FROM GIT URL.
Enter this: com.unity.localization
---------------------
Edit > Project Settings > Localization
Window > Asset Management > Localization Tables
---------------------
Create Locales from Localization Tables.
Create Tables.
Add component to text "localize string event"
Give your string reference
Click plus on the event section and drag your text component on it. Then select text submenu and text again
---------------------
using UnityEngine.Localization.Settings;
LocalizationSettings.StringDatabase.GetLocalizedString("TestTable", "key_hello");