SShortSingh.
Back to feed

How one developer auto-translated a Nuxt blog into three languages and hit an SEO trap

0
·1 views

A freelance developer built a pipeline to auto-translate a French Nuxt static blog into English and Spanish using an LLM, storing outputs as JSON files committed to a GitHub repo to avoid maintaining multiple CMS locales. The setup uses Nuxt's SSG mode with prefix-based routing, self-referencing canonicals, and a full reciprocal hreflang cluster across all three locales. Despite technically correct SEO implementation, Google Search Console flagged several translated pages as duplicates, overriding the declared canonicals in favour of the original French URLs. The root cause is that on low-authority sites, Google treats canonical tags as hints rather than directives and may consolidate machine-translated content it deems insufficiently unique back to the source URL. The developer notes that translated slugs alone do not resolve the issue, as Google evaluates consolidation based on content similarity rather than URL structure.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer builds AI-powered math calculator that shows step-by-step workings

A developer created a step-by-step math calculator that not only computes answers but also explains the reasoning behind each solution. The project was motivated by the limitations of JavaScript's eval() function, which returns results without any explanatory steps and poses security risks with raw user input. Rather than hand-coding solving logic for every math category — from algebra to calculus — the developer integrated an AI model to handle flexible reasoning and language interpretation. The AI generates structured, step-by-step solutions, while LaTeX and MathJax handle mathematical notation formatting in the browser. Normal application code manages the interface, input processing, and response validation throughout the workflow.

0
ProgrammingDEV Community ·

AWS EKS Cluster Scaled to 8 Nodes Live Under k6 Load Test With Karpenter and HPA

A hands-on experiment tested whether an AWS EKS cluster running Google's Online Boutique (11 microservices) could handle large-scale traffic using Kubernetes autoscaling tools. HorizontalPodAutoscalers (HPA) were configured for 10 services with CPU and memory targets, while Karpenter replaced the fixed node group to enable dynamic node provisioning. A k6 load test ramped up to 3,000 virtual users in-cluster, causing replica counts to climb across multiple services as CPU and memory thresholds were crossed. The cluster's node count grew from 2 to 8 at peak load, with Karpenter provisioning new EC2 instances in response to pending pods, then consolidating back to 2 nodes once the test ended. A key finding was that metrics-server must be verified before relying on HPA, as its absence causes HPA to silently fail rather than report an error.

0
ProgrammingDEV Community ·

How Healthtech Platforms Should Handle Account Deletion and Session Revocation

A technical analysis outlines best practices for managing patient account shutdowns in health technology systems, emphasizing two distinct steps: disabling authentication eligibility first, then revoking all active sessions. The framework stresses that GDPR deletion requests require balancing three competing goals — immediate access termination, policy-compliant data deletion, and minimizing disruption to unaffected users. Developers are advised to maintain a traceable index linking user records to all associated sessions, since without it a full revocation becomes unreliable or incomplete. Retaining too much session data risks preserving identifiable credentials beyond their purpose, while retaining too little hampers forensic investigation after a security incident. Organizations are urged to involve legal counsel, security teams, and data governance functions together to determine jurisdiction-specific retention periods and audit evidence standards.

0
ProgrammingDEV Community ·

DEV Weekend Challenge Offers $1,000 in Prizes for Generosity-Themed Builds

DEV Community has launched a weekend coding challenge themed around generosity, with submissions closing on September 7 at 6:59 AM UTC. The challenge was inspired by the International Day of Charity on September 5 and a community call-for-ideas earlier in the week. Participants are encouraged to build anything in the spirit of generosity, such as donation trackers, volunteer matching tools, or nonprofit utilities. Five winners will each receive $200, a DEV++ membership, and an exclusive badge, with four additional prize categories recognizing the best use of Snowflake, Solana, ElevenLabs, or Google AI. Submissions must be published as posts on DEV using the official template and will be judged on theme relevance, creativity, technical execution, and writing quality.

How one developer auto-translated a Nuxt blog into three languages and hit an SEO trap · ShortSingh