Problem: The client is trying to translate the wp-login page into French, but encounters a 404 error when switching languages after following the WPML documentation for translating WordPress login and registration pages.
Solution: 1. Navigate to WPML > Settings and scroll down to the Login and registration pages section. 2. Uncheck both options within this setting and save the changes. 3. Open the .htaccess file and replace the existing rule with the default rule provided at WordPress.org documentation. 4. Clear the caches from the site and browser. 5. Go to Settings > Permalinks and save the permalink structure. 6. Re-enable the options within the Login and registration pages in WPML > Settings. 7. Resave the permalink structure and check if the login page is working in other languages.