Widget có thể được dịch sang các ngôn ngữ sau:
Ngôn ngữ | culture-slug |
---|---|
Arabic | ar |
Tiếng Bangla | bn |
Tiếng Trung | zh |
Tiếng Croatia | hr |
Tiếng Anh | en |
Tiếng Pháp | fr |
Tiếng Đức | de |
Tiếng Hindi | hi |
Tiếng Hungary | hu |
Tiếng Indonesia | id |
Tiếng Ý | it |
Tiếng nhật | ja |
Tiếng Hàn | ko |
Ba Lan | pl |
Tiếng Bồ Đào Nha | pt |
Tiếng Nga | ru |
English Ban Nha | es |
Thổ Nhĩ Kỳ | tr |
Tiếng Ukraina | uk |
Tiếng việt | vi |
Tiếng Đức | de |
Tiếng Hindi | hi |
Tiếng Hungary | hu |
Tiếng Indonesia | id |
Tiếng Ý | it |
Tiếng nhật | ja |
Tiếng Hàn | ko |
Ba Lan | pl |
Tiếng Bồ Đào Nha | pt |
Tiếng Nga | ru |
English Ban Nha | es |
Thổ Nhĩ Kỳ | tr |
Tiếng Ukraina | uk |
Tiếng việt | vi |
Khi thay đổi ngôn ngữ trong widget, hãy thay đổi nguồn của iframe theo mẫu sau:
https://pc-builds.com/{culture-slug}/embed/{widget-type} // For example {culture-slug} is replaced with "es" for Spanish
Nhúng máy tính cổ chai của chúng tôi bằng mã này.
<script>
function LoadPCBuildsIFrame(id){
let frame = document.getElementById(id);
frame.style.height = (frame.contentWindow.document.body.scrollHeight + 30) + 'px';
}
</script>
<iframe loading="lazy"
src="https://pc-builds.com/en/vi/embed/bottleneck-calculator"
id="pc-builds-bottleneck-calculator"
onload="LoadPCBuildsIFrame('pc-builds-bottleneck-calculator');"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
Nhúng máy tính khung hình trên giây của chúng tôi bằng mã này.
<script>
function LoadPCBuildsIFrame(id){
let frame = document.getElementById(id);
frame.style.height = (frame.contentWindow.document.body.scrollHeight + 30) + 'px';
}
</script>
<iframe loading="lazy"
src="https://pc-builds.com/en/vi/embed/fps-calculator"
id="pc-builds-fps-calculator"
onload="LoadPCBuildsIFrame('pc-builds-fps-calculator');"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
Nhúng máy tính thắt cổ chai trong trò chơi của chúng tôi bằng mã này.
<script>
function LoadPCBuildsIFrame(id){
let frame = document.getElementById(id);
frame.style.height = (frame.contentWindow.document.body.scrollHeight + 30) + 'px';
}
</script>
<iframe loading="lazy"
src="https://pc-builds.com/en/vi/embed/games-bottleneck-calculator"
id="pc-builds-games-bottleneck-calculator"
onload="LoadPCBuildsIFrame('pc-builds-games-bottleneck-calculator');"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
Nhúng máy tính đơn vị cung cấp điện của chúng tôi bằng mã này.
<script>
function LoadPCBuildsIFrame(id){
let frame = document.getElementById(id);
frame.style.height = (frame.contentWindow.document.body.scrollHeight + 30) + 'px';
}
</script>
<iframe loading="lazy"
src="https://pc-builds.com/en/vi/embed/psu-calculator"
id="pc-builds-psu-calculator"
onload="LoadPCBuildsIFrame('pc-builds-psu-calculator');"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
Chế độ xem nhúng để so sánh bộ xử lý bằng mã này.
<script>
function LoadPCBuildsIFrame(id){
let frame = document.getElementById(id);
frame.style.height = (frame.contentWindow.document.body.scrollHeight + 30) + 'px';
}
</script>
<iframe loading="lazy"
src="https://pc-builds.com/en/vi/embed/compare-processors"
id="pc-builds-compare-processors"
onload="LoadPCBuildsIFrame('pc-builds-compare-processors');"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>
Chế độ xem nhúng để so sánh card đồ họa bằng mã này.
<script>
function LoadPCBuildsIFrame(id){
let frame = document.getElementById(id);
frame.style.height = (frame.contentWindow.document.body.scrollHeight + 30) + 'px';
}
</script>
<iframe loading="lazy"
src="https://pc-builds.com/en/vi/embed/compare-graphic-cards"
id="pc-builds-compare-graphic-cards"
onload="LoadPCBuildsIFrame('pc-builds-compare-graphic-cards');"
style="overflow:hidden !important;min-height:500px !important;width:100% !important;">
</iframe>