forked from ecdsa/electrum-web
-
Notifications
You must be signed in to change notification settings - Fork 1
EagleTM/electrum-web
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Electrum - lightweight Bitcoin client
elecrtum-web
== TRANSLATIONS ==
To be able to translate the website to your local language you need to:
- fork the electrum-web repository
- duplicate and rename the 'es' folder
- edit the 'langs_nav.html'
<!-- website's languages -->
.
.
.
<li><a href="es">es</a></li>
</small>
- add the new language to the two parts right before the '</small>' tag
- in the nav section duplicate the 'nav_es' block and make your changes to the new copy
<!-- website's nav -->
<ul id=nav_es class=nav>
<li><a href="index.html">Inicio</a></li>
<li><a href="../download.html">Descargar</a></li>
<li><a href="documentation.html">Documentación</a></li>
<li><a href="community.html">Comunidad</a></li>
</ul>
- Translate only the content parts, make sure to change the 'id=nav_es' to your language in the new copy, for example 'id=nav_jp'
####### on each html file inside the new language folder, 'jp'
- change the first '<html lang=es>' to your language
- go to the javascript in the head section (<head>...</head>) and change the two 'es' of these two parts of the jQuery
<!-- js -->
.
.
.
$('#nav').load('../langs_nav.html #nav_es');
.
.
.
$('a[href="es"]').removeAttr('href');
});
</script>
<!-- /js -->
== NOTES ==
We recommend to use a copy of the 'es' folder and follow the instructions above to make your local translation, rather than copying the English files because content's URLs are already set for a subfolder.
About
Electrum.org website
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- CSS 97.9%
- Ruby 2.1%