Closed necrose99 closed 4 months ago
Adds translate-toolkit L10n/ jsonl10n pot file generation.. Useful in making Bilingual dictionary setups.
ok generates tmx and in8 jsons...
https://github.com/necrose99/Myaamia/tree/master/simple-english-dictionary prebaked ziped dictonary in tmx or jsonl10n potfile etc.. from these one can use the translate-toolkit againt for the dozens of formats they offer from the former.
https://packages.gentoo.org/packages/dev-python/translate-toolkit @Gentoo Linux emerge -avbk dev-python/translate-toolkit (ask verbose build binary on system for sharing to other sytems/backup, get binary package k from binhost/s if avalibe) GentooWSL2 thunderstorm burnt my desktops psu laptop and shitty surge protectors... seems our apts took a direct bolt .. on the line.. so i upgrades wifes ram n nvme for now,, untill i have enough $$$ for a new laptop for dual boot etc... i'm limping on..
https://github.com/translate/translate for further documentation ... (or dozens of converters)
pip install translate-toolkit tmx2csv or related toys lxml for most other linux's or yum/apt etc.. setuptools-gettext for translation of python apps on install. if english isnt your native locale...
# Install with XML support
pip install translate-toolkit[XML]
# Install all optional dependencies
pip install translate-toolkit[all]
visual studio Community pyinstaller-setuptools , [setuptools-feeze] (https://pypi.org/project/setuptools-freeze/) cython-setuptools / setuptools-cythonize are recomended as /translate-toolkit begets exe of scripts automatically on pip install or pipupdate pipx etc... python3 -m ....... would get real irriating for runs each n every time , so the exe's run directly from console CMD.exe or powershell..
https://github.com/translate/virtaal or windows / macos https://virtaal.translatehouse.org/download.html
csv2po csv2tbx are highligted
for now one could add the Li0n-merge.py
or as on patch 1
so if anyone wants simple-english-dictionary as tmx or as a translate targets they can use away ...
https://github.com/translate/translate has most tmx or jsonl10n coverter tools to >> to anything else..
Hey, thanks for the detailed explanation.
What I'm concerned about now: if my script changes in any way, I'll have to remember to update your scripts, too.
Is it possible you can update yours to call my code, instead of repeating it? Then I can accept your PR.
Cheers,
Feel free.. if someone is looking to make more Bilingual dictionaries... MIT licensing on my end..
On Mon, Jun 24, 2024, 10:19 AM nightblade9 @.***> wrote:
Hey, thanks for the detailed explanation.
What I'm concerned about now: if my script changes in any way, I'll have to remember to update your scripts, too.
Is it possible you can update yours to call my code, instead of repeating it? Then I can accept your PR.
Cheers,
— Reply to this email directly, view it on GitHub https://github.com/nightblade9/simple-english-dictionary/pull/3#issuecomment-2186828748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASJATZE6BETE3JVI3JTKDTZJA2JTAVCNFSM6AAAAABJXMZXKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWHAZDQNZUHA . You are receiving this because you authored the thread.Message ID: @.***>
I haven't worked on this repo for ages.
Is it possible you can update your new scripts to call the existing scripts, instead of duplicating the code?
Merging patch to own branch