Replies: 1 comment
-
Hi @vasekch Thank you for your question. Glad you have some interest in the project 😉 Here the answers:
Currently the following gets exported / imported:
Extensions are not supported, but could be in the future.
No, for now its just CMS Page / Title Metadata and Plugins (and in the future custom Models)
Currently only single page import / exports are possible. The feature to export all pages at once, could be written with the existing functions (if someone is interested, take a look at: https://github.com/energie360/djangocms-xliff/blob/main/djangocms_xliff/exports.py#L23. You could loop through all CMS pages and use them with this function)
Example you want to translate German to French. Then the flow in the CMS should be like this:
The flow is needed because the plugins on a Page in the django-cms are completly seperate from each other.
No you are not missing something 😃 . Gettext is more of a developer tool to translate stuff. You run your command and send .po the file to your agency get the file back and you're done. This package was intended for non developers, so that they can import / export pages themselves. Because of the limitation on the cms, the "complicated" flow exists. Feel free to ask more questions, or look at the source code 😃 |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to get my head around how to use this.
I'm familiar with i18n in Django and I can use gettext
.po
files, compile it and reload server to get my updated translations.But from the
README.md
, I'm a bit confused.What are the text objects? Is this from
Plugins
,PageExtensions
orTitleExtensions
? Are gettext messages included?It seems a bit unhandy to export each page separately? Can I have complete website exported for translation?
How can I use this to support translating my site in a completely new language?
Maybe I'm missing something similar to base language concept of the gettext tooling.
Could you please elaborate a bit? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions