Translation system
All user-visible strings in StartMyVPN are wrapped in{{ __('...') }} — Laravel’s localization helper. This means you can change any text either by:
- Editing the template directly — fastest for one-off changes
- Editing the language file — best when the same string appears in multiple places or when you support multiple languages
lang/:
Edit the English language file
Openlang/en.json and change values:
Add a new language
Createlang/[locale].json (e.g. lang/fr.json) with translated values:
config/app.php:
Landing page content
File:resources/views/landing.blade.php
Hero text
lang/en.json or edit the template directly.
Trust badges
Below the hero buttons:Stats bar
Feature cards
Six cards in the Features section. Each card has a title and description paragraph:<div class="bg-white p-8 rounded-xl..."> block and change the content.
To remove a card, delete the block. The grid auto-adjusts (CSS grid-cols-1 md:grid-cols-2 lg:grid-cols-3).
App download links
href="#" values with your real App Store / Google Play URLs.
Features page
File:resources/views/features.blade.php
This is a dedicated feature showcase page. Edit the feature list, descriptions, and any comparison tables directly in the template.
Pricing page
File:resources/views/pricing.blade.php
The pricing page dynamically loads plans from the database — you do not hardcode prices here. Plan names, prices, bandwidth limits, and features come from Admin → Plans.
The template controls the visual layout of the pricing cards. To change the layout or add a custom “Most Popular” badge, edit this file.
Navigation links
The public navigation is inresources/views/components/layouts/public.blade.php.
Desktop nav links
<a> tag pointing to the relevant route. To remove a link, delete the <a> tag.
Sign in / Sign up button text
Footer
File:resources/views/components/footer.blade.php
Edit this file to change:
- Footer links and columns
- Copyright notice and year
- Social media links
- Company description or tagline
Support page
File:resources/views/support.blade.php
Contains the support landing page content. Edit it to add contact information, hours of availability, or links to external resources.
Auth page text
These pages use standard form layouts. Edit heading text, helper text, and button labels directly or via translation strings.
Email template content
Email body text is inresources/views/emails/. Each file corresponds to a transactional email:
Example: Service activation email
File:resources/views/emails/service-activated.blade.php
app/Mail/ServiceActivated.php:
Customer dashboard content
File:resources/views/dashboard.blade.php
The dashboard displays the user’s active service, server list, and bandwidth usage. Edit this template to change:
- Section headings and labels
- Empty state messages (shown when no active service)
- Help text and tooltips
After editing templates
No rebuild is needed for.blade.php changes — Laravel compiles them on request. However, clear the view cache if you have it enabled:
lang/en.json or other language files, clear the config cache: