CLI test
@prologic@twtxt.net pls review PR i18n. 😀
Good! 👏
Thank you. It’s a pleasure to be part of the team. I hope I can do better.
Can I join the team?
@prologic@twtxt.net Are there any future plans for TWTXT? How many people are working on this?
@prologic@twtxt.net @lyse thanks, We should fix this.
rss2twtxt unable to parse Atom correctly, item.PublishedParsed
is always nil.
twtxt.net/atom.xml has the same bug. Simply use feed.ToRss()
and rss2twtxt will parse correctly.
@prologic@twtxt.net I added the ReadFog feed to feeds, but I don’t see the content. What could be the problem? https://feeds.twtxt.net/yue-fang-readfog/twtxt.txt
@darch@twtxt.net This may be a branch issue. The master branch does not have a go. rice dependency.
@darch@twtxt.net This is a i18n development tool, you can skip it and comment out the call line in Taskfile.yml.
@darch@twtxt.net You need to install this You need to install task tool.
@prologic@twtxt.net The CGO dependencies are very troublesome, and the FFMPEG dependencies are also a little annoying. It seems that only version 3.3+ can be used, but not larger than version 4, which took me some time to deploy. It’s a little cumbersome for the average user to do this. Docker is simple, but I don’t like it. Have you considered any alternative ways to remove these dependencies? 🤪
@prologic@twtxt.net Continue to improve i18n support and add traditional Chinese support. i18n2 PR submitted. 😛 TestSite: Twtxt.cc
@jlj@twt.nfld.uk @xuu cool.
zh-cn
)! 🙇♂️ This is awesome!
@prologic@twtxt.net Sorry, this is just an initial version, but I will improve it later by embedd.FS embedding the language files so that you don’t need to deploy these files again.
@prologic@twtxt.net I am waiting for the PR to merge into the mainline, then I will continue to work on it, and eventually I will deploy a localized version online.
@prologic@twtxt.net copy ./internal/langs/active.*.toml these files to the distribution directory.
@prologic@twtxt.net Is there anything wrong with the PR I submitted? I see that it hasn’t been merged? What can I do for you? ㄟ( ▔, ▔ )ㄏ
@prologic@twtxt.net I reset my password on Goryon and I’m sure I didn’t change my password.
I’m going to look at the source code, it’s a little annoying, excuse me. (◎_◎;)
@prologic@twtxt.net @adi@twtxt.net @jlj@twt.nfld.uk I hope(The peace of the world 😁) add different packages to place files, such as handlers, domain models.
like this:
It doesn’t matter. It’s just my personal preference. 🤪
@prologic@twtxt.net @jlj@twt.nfld.uk Actually, I am not satisfied with the application framework. If possible, I hope to adjust the project structure. What do you think? 🤔
@jlj@twt.nfld.uk @prologic@twtxt.net I have already submitted the PR, but the work is a big job, now the basic pages did i18n support, but there are a lot of work to do, such render list by the code, messages or errors, etc. I hope this as a start, using i18n message definition in the development of future versions. Then the latter work is relatively easy. Thank you very much!
Sorry, my English is so poor.🤪
@prologic@twtxt.net No problem, this is just a start, there is still a lot of work to be done, I will submit PR when I have completed a phase result.
@prologic@twtxt.net I’used go-i18n, supporting other languages is simple, create another language toml file and translate it. then add language file load.
@prologic@twtxt.net @jlj I’ve already started working on a localized version, so here are some basic attempts.
@prologic@twtxt.net I would to build a Chinese version, have you considered supporting different languages? I translated a README file.