AP > Common > Basic Settings > General > Сookie expiration period
When enabled the setting allows your users to store language settings such as the language used last time in a specific browser and display a recently used language in the browser when a user visits your site subsequently. So you can set up a period during which the system will be storing language settings for users.