MDX files¶
Added in version 2026.5.
Note
இந்த வடிவத்திற்கான உதவி வளர்ச்சியில் உள்ளது. சில நற்பொருத்தங்கள் இன்னும் கிடைக்காமல் போகலாம், மேலும் வெளியீடுகளுக்கு இடையில் நடத்தை மாறக்கூடும். சோதனையில் இருந்து வரும் கருத்துக்கள் வரவேற்கத்தக்கவை.
MDX files are Markdown files with JSX syntax. Weblate extracts translatable Markdown text and preserves imports, exports, JSX components, and expressions.
MDX units automatically get the md-text and auto-safe-html flags.
This keeps the unsafe HTML check active for plain text, standard HTML, and
custom elements while avoiding HTML cleanup on MDX and JSX-like syntax.
Use the explicit safe-html flag for strings that are known to contain HTML
and should always be sanitized, including SVG or MathML snippets.
Note
மற்ற வடிவங்களைப் போலல்லாமல், மொழிபெயர்ப்பு கோப்புகளில் உள்ள மாற்றங்கள் வலைபெயர்ப்புடிற்கு இறக்குமதி செய்யப்படாது, ஏனெனில் அதை நம்பத்தகுந்த முறையில் செய்ய முடியாது. மொழிபெயர்ப்புகளுக்கான உண்மையின் சான்று வலைபெயர்ப்பு மொழிபெயர்ப்பு கோப்பு அல்ல.
See also
எடுத்துக்காட்டு கோப்பு:
---
title: Ahoj světe!
description: Learn with Weblate
---
import LessonCard from "./LessonCard"
export const metadata = { slug: "intro" }
# Ahoj světe!
<LessonCard title="Keep this code" count={5}>
Do not translate this JSX body.
</LessonCard>
Orangutan has five bananas.
Try Weblate at [weblate.org](https://demo.weblate.org/)!
*Thank you for using Weblate.*
File extensions |
|
|---|---|
Linguality ⓘ |
Monolingual |
Supports plural ⓘ |
|
Supports descriptions ⓘ |
|
Supports explanation ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API identifier |
|
Supports read-only strings ⓘ |
|
Check flags added by this format ⓘ |
|
வலைபெயர்ப்பு configuration¶
வழக்கமான வலைபெயர்ப்பு கூறு உள்ளமைவு |
|
|---|---|
கோப்பு முகமூடி |
|
ஒருமொழி அடிப்படை மொழி கோப்பு |
|
புதிய மொழிபெயர்ப்புகளுக்கான வார்ப்புரு |
|
கோப்பு வகை |
MDX file |
கோப்பு வடிவ அளவுருக்கள் |
|
நகல் சரங்களைக் கையாளுதல்¶
By default, Weblate treats each occurrence of a string as a separate translation unit to provide line-based context. This can be problematic in MDX tables or repeated component content, where reordering changes the context and can lead to translation loss.
ஒரே மாதிரியான சரங்களை ஒற்றை மொழிபெயர்ப்பு அலகுக்குள் ஒருங்கிணைக்க, கோப்பு வடிவ அளவுருக்கள் இல் duplicate identical strings ஐ இயக்கவும்.
Note
இந்த விருப்பத்தை இயக்குவது ஒன்றிணைக்கப்பட்ட அலகுகளுக்கான வரி அடிப்படையிலான சூழலை முடக்குகிறது, ஆவணத்தில் வரிசைகள் அல்லது பிரிவுகள் நகர்த்தப்பட்டாலும் மொழிபெயர்ப்புகள் நிலையானதாக இருப்பதை உறுதிசெய்கிறது.