daps multi languages support #623
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@dnkbln Hi Dirk and sorry for the delay. Yes, we have this locdrop command which is an abbreviation for localization drop.
It's a very specific to our workflow at SUSE. I doubt it would be useful to you. 😉 But just for the sake of completeness, a DEF file looks like this (taken from the
These days you only need the first two columns:
Have you tried the $ daps -v -d DC-FILE package-src This command creates a tar.bz2 file with all images, XML files, and the DC file. Not sure if that is the solution you are looking for. Sorry again for the delay. Hope it will help to solve your questions. |
Beta Was this translation helpful? Give feedback.
-
If you have further questions, you can also use our newly create discussion forum: |
Beta Was this translation helpful? Give feedback.
-
Sorry, for replying so late, I overlooked your question ;-(. You only need the locdroip command and the DEF files if you have a set of books and articles that only gets partially translated. for this usecase the locdrop command creates separate tarballs for files and images that get translated and for those that do not get translated. Thus you always have the full set (needed to build all books) while at the same time have seperated translated and untranslated files. Having said that, locdrop was written for a very special usecase. If you only have a single book or article for translation or if you translate a complete set, it is not needed. In both cases you can just use the DAPS command package-src to package all files.
... providing you DC-files are named DC-foo, DC-bar, DC-foobar and name it
Note that the DEF file may contain comment lines starting with HTH Note: toms answered simultaneously. He is describing the DEF-file format we are using for packaging. However, it does not need to be so complicated. The format I described above also works. I am using awk to read the second column and prepend "DC-" ( |
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for your answer. |
Beta Was this translation helpful? Give feedback.
Sorry, for replying so late, I overlooked your question ;-(.
You only need the locdroip command and the DEF files if you have a set of books and articles that only gets partially translated. for this usecase the locdrop command creates separate tarballs for files and images that get translated and for those that do not get translated. Thus you always have the full set (needed to build all books) while at the same time have seperated translated and untranslated files.
The locdrop command needs to be run for each book/article in the set that gets translated. With that DAPS can only include the DC file that was specified on the command line, DC files for the other books/articles in the set a…