Astro developer in Bern

Remote Astro development in Bern for associations and NGOs that publish in German and French. Static HTML, revDSG-aware forms, and typed content collections.

Astro developer

Migrate from WordPress to Astro in Bern

Many businesses in Bern run WordPress but face performance ceilings, security overhead, and rising hosting costs. Astro solves these with static HTML output, zero JavaScript by default, and edge deployment. I migrate existing WordPress sites to Astro with full SEO preservation, URL mapping, and 301 redirects.

  • PageSpeed 95-100

    Static HTML with zero JavaScript. Faster than any WordPress solution.

  • SEO-safe migration

    URL mapping, 301 redirects, Google rankings preserved.

  • Cloudflare Pages hosting

    Global CDN, free SSL, instant deployments. Hosting costs near zero.

Bern is the seat of the Swiss federal authorities: the Federal Assembly and Federal Council work from the Bundeshaus quarter above the Aare, and a large share of association head offices, NGO secretariats, and federal liaison teams sit in the same city because that is where consultations, hearings, and intercantonal coordination happen. Those organisations rarely need a flashy application; they need the same statute change, funding call, or annual report readable in German and French, on mobile, without a plugin stack that breaks after every security advisory. I am Mariusz Szatkowski, an independent developer in Gdynia, Poland. I work only in writing, I do not offer calls or visits to Bern, and I build Astro sites that compile both language editions to static HTML with typed content collections and selective islands for forms.

Old town of Bern from Rosengarten

Photo: Daniel Kraft, CC BY-SA 3.0, Wikimedia Commons.

#Who in Bern needs bilingual static publishing

Bern’s NGO and association landscape mixes national umbrella groups, humanitarian organisations with federal accreditation, cultural societies tied to the canton, and advocacy networks that answer federal consultations. Their sites share a pattern:

  • Two official language surfaces, German for Berner Alltag and Swiss-German media, French for Romand readers and federal documents that ship bilingually.
  • Long-lived reference pages, statutes, board lists, transparency reports, and project archives that should not disappear when someone updates a plugin.
  • Short campaign bursts, appeals, event registrations, and consultation responses that must go live on a fixed evening after the board approves text in both languages.
  • Modest IT capacity, often one part-time communications officer and external accountants, not a permanent platform team.

Astro fits that shape because the Astro documentation on islands architecture describes a page that is “mostly static HTML” with smaller interactive regions hydrated only where needed. Your annual report and legal notices stay fast; the donation or signup block loads JavaScript on its own.

Question your board asksWordPress-only habitAstro static habit
Can we publish DE and FR the same evening?Two posts, cache flush, hope mobile plugins agreeOne build emits both trees; staging preview for each locale
What ships to phones?Theme JavaScript plus analyticsHTML first; Core Web Vitals thresholds on web.dev: LCP up to 2.5 s, INP up to 200 ms, CLS up to 0.1 as engineering targets
Who fixes the next CVE?You patch PHP, themes, and twelve pluginsStatic front, small server surface on form endpoints
Can a new volunteer edit copy?Admin training and role pluginsMarkdown or headless CMS with schema checks

#How Astro routes German and French without duplicate maintenance

The Astro internationalization guide explains routing with locales, defaultLocale, and middleware that keeps each language on its own URL. For a Bern association I typically:

  1. Set defaultLocale to de when the board treats German as primary, with fr as a full peer locale rather than an afterthought subdomain.
  2. Store body copy in content collections validated through astro:content, so a missing French title fails the build instead of shipping a blank page during a federal deadline.
  3. Attach a stable translationKey in frontmatter so press releases in both languages share analytics and redirects.
  4. Emit reciprocal hreflang links and language switches that point to real paths, not client-side guesses from IP addresses.

German compound nouns and French line length differ, so layouts use logical CSS properties and wrapping that survives long Berner Verwaltungstitel without horizontal scroll on phones.

A minimal collection shape looks like this:

import { defineCollection, z } from 'astro:content';

const statements = defineCollection({
  type: 'content',
  schema: z.object({
    title: z.string(),
    locale: z.enum(['de', 'fr']),
    translationKey: z.string(),
    lastVerified: z.coerce.date(),
  }),
});

export const collections = { statements };

Your communications officer edits two markdown files with the same translationKey; CI fails if only one language is present for a published slug.

Associations still need interactivity. Astro’s island pattern keeps that isolated:

  • Contact and volunteer forms as server-backed endpoints with CSRF tokens, not embedded third-party iframes unless you choose them deliberately.
  • Donation widgets loaded with client:visible so the script downloads only when the reader scrolls to the appeal.
  • Site search through Pagefind or a small server island if you index PDF reports alongside HTML.

Everything else, history pages, org charts, downloadable PDF links, stays pure HTML generated at build time. That matters for readers on SBB trains around Bern who still hit weak mobile links: less JavaScript parsing means less battery drain before they finish a French summary of a German consultation.

#revDSG, EDÖB, and what changes on a static site

Switzerland’s Federal Act on Data Protection (revised act, in force since 2023) applies to NGOs and associations that process member or donor data, not only to banks. The Federal Data Protection and Information Commissioner (EDÖB) publishes guidance on transparency, data minimisation, and privacy notices.

On Astro projects for Bern clients I bake in:

  • Layered privacy information linked next to every form, separate short notices for newsletters versus one-off contact messages where your counsel distinguishes them.
  • Consent before non-essential scripts, using a small island so marketing or analytics tags never run on the static shell until the reader chooses.
  • Retention notes in your internal runbook: which server stores submissions, how long exports live, and who can access them, because static HTML does not remove backend obligations.
  • Processor lists in the privacy page when you use Swiss hosting, email delivery, or CRM webhooks.

Static output helps the first layer: there is no hidden database call on a brochure page. The second layer, what your form handler stores when someone clicks send, still needs legal review; I document the technical flow so your advisor in Bern or Zurich can sign off without reverse-engineering WordPress plugins.

#eCH standards when your NGO touches public-sector data exchange

The eCH association develops e-government standards for electronic collaboration between authorities, businesses, and private actors in Switzerland. Your public website is not an eCH message broker, but Bern-based NGOs often:

  • Submit structured reports to federal or cantonal portals that reference eCH numbered formats.
  • Share organisation identifiers and address datasets with partners who validate against eCH schemas.
  • Coordinate with IT vendors who ask whether your exported member lists or event feeds align with Swiss interoperability practice.

When that applies, I keep field names and export filenames stable, versioned in the repo, and described in a short mapping table next to the content schema. If you only need a bilingual brochure with PDF downloads, we skip eCH entirely; I do not invent compliance you do not use.

#Federal city context without inventing local colour

I anchor Bern references only where official sources support them. The Swiss Parliament site describes the Federal Assembly’s role; the Bundeshaus complex sits in Bern’s federal quarter, which is why many nationally active associations keep a postal address here even when their field work runs elsewhere.

I do not claim market statistics, startup rankings, or client logos I cannot show. If your association name and accreditation numbers belong on the site, you supply them; I place them in semantic HTML and structured data you approve.

#How I work with your designer and your board

I design the wireframes and visual layout, or work from mockups your Swiss agency supplies. I implement the approved layout in Astro and Tailwind CSS. I do not illustrate campaigns or redesign your brand.

The delivery rhythm is written and asynchronous:

  1. You send the URL, language list, must-have pages, and any legal deadlines.
  2. I return clarifying questions in writing and a scope statement with explicit out-of-scope items.
  3. We agree on staging on Cloudflare Pages or your host; each merge request produces a preview URL for the German and French chairs to read on their own time.
  4. Before production cutover I hand over redirect maps, the content editing guide, and a short operations note for whoever renews TLS and domain records.

I answer messages in writing during the business week. I do not quote response times in minutes or hours.

#Checklist before you sign an Astro rebuild in Bern

StepAction
InventoryList every URL that still earns traffic from Google or inbound links from partner NGOs
Language pairsMark which pages must exist in both DE and FR versus German-only legal filings
FormsDecide which fields are mandatory under your statutes and what EDÖB expects in the notice
AssetsGather logo SVG, portrait rights for board photos, and PDF reports you will link, not retype
IntegrationsNote CRM, donation provider, or federal upload tools; I connect only what you already contracted
HostingConfirm whether data must stay with a Swiss provider; static files still need a chosen jurisdiction for form posts

If a smaller association only needs five pages and honest bilingual copy, I say so and keep the architecture small. If you outgrow markdown, we can attach headless WordPress or another CMS at build time without exposing WordPress themes to the public internet. See the Astro developer service overview for how that pillar relates to city-specific work.

If your association still runs a monolithic WordPress theme, a staged move is often safer than a big-bang rewrite. I describe route-by-route decisions on the Next.js and Astro migration page for Bern. When you need PHP integrations behind the Astro front, see PHP developer in Bern; when editorial staff want to keep WordPress admin, see WordPress developer in Bern.

#Start with a written brief

Send your site URL (if you have one), the languages you must support, your target go-live window, and who supplies the visual design. Use the contact form. I read it on a working day and return a written reply with scope and assumptions. The initial quote in writing costs you nothing.

See also in Switzerland

Need this service: Astro developer in Bern?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Explore other WordPress services and knowledge base