librerouterorg / docs Goto Github PK
View Code? Open in Web Editor NEWDocumentation, proposals, and /etc
Documentation, proposals, and /etc
converting PO to JSON in order to update translation files to our new format and workflow, and looking for help to automate the process.
In order to convert easily, we need to do a search and replace sequence that includes mutli-line patterns with multi-line wildcards. In the Bluefish editor, there's an option for "dot character in regex pattern matches newlines", so I made two demo files with Bluefish, but it can't record macros, which would make this work faster.
original format:
https://github.com/translation-bridge/lime-docs/tree/master/Booklet-01-Networks
target format:
https://github.com/patogit/lime-docs/tree/testing-JSON/Booklet-01-Networks/json
The seven search and replace steps for PO files generated by translatewiki.net are thus (where I mean a newline character, I write newline. Where I mean "replace the characters \n in the text" I write \n):
1) (Regex) msgid.*?msgstr -> newline
2) (Regex) "newline#: 01.en.txt:.*?newline " -> "newline"
3) (Regex) # Translation of LibreMesh.?Language: -> {"
4) (Regex) \\n"newline"X-Generator.? plural=(n > 1);\\n" -> ": {
5) newline " -> ,newline"booklet-01-paragraph-000
6) )\n -> ": "
7) \n -> space \n space
I've tried po2json, json2po, and https://localise.biz/free/converter/po-to-json . The latter at least produces a file, but still requires multiple search and replace steps, so I may as well just figure this out without a converter.
Any hints about how to automate this, very welcome.
En comunicación con NicoP
En comunicación con Wilson Gordillo, ya en compromiso, diseñando metodología
The following string in English has a spelling mistake.
10b) A NODE is composed of an antenna, a router and the softwrae that allows connectivity.
Reported on Translatewiki.net - https://translatewiki.net/wiki/Thread:Support/Typo%3F
Finalizado para cuando esté testeado el prototipo.
el secreto se encuentra oculto para travis pq estaba con la clave de encriptacion del repo del que migro.
hay que traer la llave nuevamente, encriptar y ponerlo en
https://github.com/LibreRouterOrg/docs/blob/master/.travis.yml
hasta ahora todos tenian 'en' como clave de idioma, y ahora necesita tener la de su idioma.
En comunicación con Patrick
Diseñar iconografías para representar diferentes conceptos o elementos utilizados recurrentemente en nuestro material gráfico.
Colaboran Rodrigo y, tal vez, Pablitux.
Todo material gráfico que corresponda a la primera parte de la trilogía de documentación.
Se cierra cuando está terminado, impreso y testeado todo el capítulo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.