I have done translations in development (docker) system.
How to export results to production? to apache2 (www/openxpki)

пн, 23 авг. 2021 г. в 15:46, Ale Ch <[email protected]>:

> How to install compiled version to productive system?
> I still see Missing translation "site.header" for locale "ru-ru"
> In translations dir I have add ru-ru.yaml with translation message and run
> make.
> How update?
>
> пн, 23 авг. 2021 г. в 11:43, Jens Berthold <[email protected]>:
>
>> Yes it is and it‘s all explained in the README:
>>
>>
>> https://github.com/openxpki/openxpki/blob/develop/core/htdocs_source/README.md#build-production
>>
>> Plus the preparation steps mentioned earlier in the same document (nvm
>> use, npm install).
>>
>> Am 23.08.2021 um 09:49 schrieb Ale Ch <[email protected]>:
>>
>> 
>> Is it possible rebuild htdocs_source without docker? And install it to my
>> server
>>
>> сб, 21 авг. 2021 г. в 15:22, Jens Berthold <[email protected]>:
>>
>>> 
>>> If you run „make“ then all necessary commands are executed in a Docker
>>> container. This includes „nvm use“ etc.
>>>
>>> So the steps described in my mail from 2021-08-12 are sufficient to get
>>> a complete build of the web UI.
>>>
>>> Am 19.08.2021 um 17:49 schrieb [email protected]:
>>>
>>> make
>>> nvm use
>>> npm install
>>> is it enough to update html tree?
>>>
>>> Отправлено с iPad
>>>
>>> 19 авг. 2021 г., в 17:50, Oliver Welter <[email protected]> написал(а):
>>>
>>> 
>>> You can get the source code from https://github.com/openxpki/openxpki/
>>> - the WebUI stuff is in core/htdocs_source and there is also a README on
>>> how to build the webui.
>>>
>>> The i18n translations are in core/i18n - translate, compile them using
>>> gettext and copy to the server.
>>>
>>> Oliver
>>>
>>> Am 19.08.21 um 09:52 schrieb Ale Ch:
>>>
>>> How to get access to source tree? I would like to rebuild openxpki with
>>> russian messages
>>>
>>> ср, 18 авг. 2021 г. в 12:08, Ale Ch <[email protected]>:
>>>
>>>> Dear Jens
>>>> <- run "make" (this needs Docker and takes a while esp. on first run)>
>>>> please explain, how to do this?
>>>> where has to be source tree?
>>>> Information in github not enough for me
>>>>
>>>> best regards Alex
>>>>
>>>>
>>>> пт, 13 авг. 2021 г. в 11:35, Ale Ch <[email protected]>:
>>>>
>>>>> Hi Jens,
>>>>> yes I have found. Thank you!
>>>>>
>>>>> best regards
>>>>> Alex (Alexander)
>>>>>
>>>>> пт, 13 авг. 2021 г. в 11:28, Jens Berthold <[email protected]>:
>>>>>
>>>>>> Hi Ale Ch (is this an abbreviation?),
>>>>>>
>>>>>> great that you will contribute the translation.
>>>>>>
>>>>>> "site.logout" is describing a path in the YAML file's data hierarchy
>>>>>> (a hash / associative array in this case), it refers to this:
>>>>>> site:
>>>>>>   logout: "Log out"
>>>>>>
>>>>>> Jens
>>>>>>
>>>>>> Am 13.08.21 um 09:13 schrieb Ale Ch:
>>>>>>
>>>>>> Dear Jens,
>>>>>> yes I will send source file as it be ready. Today it only 60% of
>>>>>> translating. I have never done short messages yet.
>>>>>> My question was about variable names for this - Missing translation
>>>>>> "site.logout" for locale "ru-ru"
>>>>>> I have never found any variable matches for this case
>>>>>>
>>>>>> чт, 12 авг. 2021 г. в 12:55, Jens Berthold <[email protected]>:
>>>>>>
>>>>>>> I think there is a misunderstanding:
>>>>>>> You only need to translate the quoted text in the file I linked. The
>>>>>>> left hand side are variable names that are fixed.
>>>>>>> If you kindly provide the translated file it can be included in the
>>>>>>> next UI build.
>>>>>>>
>>>>>>> To rebuild the UI yourself:
>>>>>>> - save the file as <src>/core/htdocs_source/translations/ru-ru.yaml
>>>>>>> - cd into <src>/core/htdocs_source/
>>>>>>> - run "make" (this needs Docker and takes a while esp. on first run)
>>>>>>>
>>>>>>> The resulting files below <src>/core/htdocs/ then need to be copied
>>>>>>> into /var/www/openxpki/
>>>>>>>
>>>>>>> Jens
>>>>>>>
>>>>>>> Am 12.08.21 um 05:57 schrieb [email protected]:
>>>>>>>
>>>>>>> Hi! Yes I can translate it, but how to find or create name for
>>>>>>> translation rules like i18n_bla-bla-bla_site_logout?
>>>>>>>
>>>>>>> Отправлено с iPad
>>>>>>>
>>>>>>> 11 авг. 2021 г., в 22:50, Jens Berthold <[email protected]>
>>>>>>> <[email protected]> написал(а):
>>>>>>>
>>>>>>>  Hi,
>>>>>>>
>>>>>>> these messages are shown because OpenXPKI currently does not have a
>>>>>>> client (Javascript) side Russian translation.
>>>>>>> And it looks like there is currently no fallback to English.
>>>>>>>
>>>>>>> If you want to help improve the situation, you could translate this
>>>>>>> file into Russian:
>>>>>>>
>>>>>>> https://github.com/openxpki/openxpki/blob/develop/core/htdocs_source/translations/en-us.yaml
>>>>>>>
>>>>>>> Regards
>>>>>>> Jens
>>>>>>>
>>>>>>> Am 11.08.21 um 14:43 schrieb Ale Ch:
>>>>>>>
>>>>>>> Martin
>>>>>>> help me please.
>>>>>>> How to find mission labels for translate table? for example:
>>>>>>>     • Missing translation "site.logout" for locale "ru-ru"
>>>>>>>     • Missing translation "userinfo.name" for locale "ru-ru"
>>>>>>>
>>>>>>> чт, 5 авг. 2021 г. в 17:23, Martin Bartosch via OpenXPKI-users <
>>>>>>> [email protected]>:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> > Martin, did you have a fight or some conflict with this Petr
>>>>>>>> Grigoriev <[email protected]>? In the section ru_RU, such
>>>>>>>> nonsense is written ...
>>>>>>>>
>>>>>>>> Not as far as I can remember. We had a really nice working
>>>>>>>> relationship with the team at the time.
>>>>>>>>
>>>>>>>> I am sorry to hear that the Russian translation is botched. At that
>>>>>>>> time there were no good language translation tools available, nowadays 
>>>>>>>> we
>>>>>>>> at least perform some sanity checks on submitted translation work.
>>>>>>>>
>>>>>>>> Cheers
>>>>>>>>
>>>>>>>> Martin
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> OpenXPKI-users mailing list
>>>>>>>> [email protected]
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> OpenXPKI-users mailing 
>>>>>>> [email protected]https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> OpenXPKI-users mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> OpenXPKI-users mailing 
>>>>>>> [email protected]https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> OpenXPKI-users mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> OpenXPKI-users mailing 
>>>>>> [email protected]https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> OpenXPKI-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>>>>
>>>>>
>>>
>>> _______________________________________________
>>> OpenXPKI-users mailing 
>>> [email protected]https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>
>>>
>>> --
>>> Protect your environment -  close windows and adopt a penguin!
>>>
>>> _______________________________________________
>>> OpenXPKI-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>
>>> _______________________________________________
>>> OpenXPKI-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>
>>> _______________________________________________
>>> OpenXPKI-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>>
>> _______________________________________________
>> OpenXPKI-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>
>> _______________________________________________
>> OpenXPKI-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>
>
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to