BabelShark Knowledge Base
  • Introduction
  • BabelShark basics
    • Getting started
    • Project modes
    • Project languages
    • Code snippets
    • Source string markup
    • Setting visitor's language
    • Project associated texts
  • Setup
    • Recommended approach
    • Coexistence with other translators
    • Scopes
    • Performance
  • FAQ
  • Site owner's manual
    • Introduction
    • Real-time language statistics
    • Working in a team
  • Developer's manual
    • Embed BabelShark script
    • API Reference
      • BabelShark config
      • Language drop-down specs
    • HTML markup
      • Variables
      • Issues
    • Integrations
      • Tilda Publishing
        • Tilda website setup
        • Elements to localize
  • Manager's manual
    • Introduction
    • Community proofreaders
  • Proofreader's manual
    • Introduction
    • How to proofread
    • Checking translations
    • Translation types
    • Request of re-checks
Powered by GitBook
On this page
  1. Developer's manual
  2. HTML markup

Issues

PreviousVariablesNextIntegrations

Last updated 3 months ago

Something wrong may appear in the page markup. BabelShark will try to indicate the problems.

Nested __ class

One of the most often issues is a presence of nested elements with __class:

<div class="__ parent">
    Some content
    <a href="..." class="__">is here</a>
</div>

You may see that inner __ is located within outer __ element. This will cause issues while localizing strings.

BabelShark indicates the problem in translations list:

To fix this issue, edit your HTML and avoid nested elements with __ class.