In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
76 [In-Portal CMS] Admin Interfaces feature request N/A 2009-06-15 07:32 2010-08-31 14:27
alex  
Dmitry  
normal  
needs feedback 5.1.0  
open  
 
none  
0
0000076: Ability to export language export to another site
On language export screen add text field, where user can specify another In-Portal-based site to import given language to. This was we can transfer language packs between various in-portal installations in 3 clicks:
1. select language(-s)
2. press Export button
3. enter target site url
4. press export button.
related to 0000047active  (Icebox) Changes in Download method for Language pack Export 
Issue History
2010-08-31 14:27 alex version => 5.1.0
2009-08-09 03:25 alex Note Added: 0000281
2009-08-09 03:25 alex Assigned To alex => Dmitry
2009-08-09 03:25 alex Status needs work => needs feedback
2009-08-03 11:02 Dmitry Note Added: 0000215
2009-08-03 11:02 Dmitry Assigned To Dmitry => alex
2009-08-03 11:02 Dmitry Status needs feedback => needs work
2009-08-03 07:53 alex Note Added: 0000214
2009-08-03 07:53 alex Assigned To => Dmitry
2009-08-03 07:53 alex Status active => needs feedback
2009-06-15 23:31 Dmitry Target Version => Icebox
2009-06-15 07:32 alex Relationship added related to 0000047
2009-06-15 07:32 alex New Issue

Notes
(0000214)
alex   
2009-08-03 07:53   
Can we move this issue a bit closer to releasing, maybe to 5.1.0. This feature could prove very useful, when you have 2 or more sites and want to keep language pack synchronized and up to date.
(0000215)
Dmitry   
2009-08-03 11:02   
I still have some questions on this.

Can you describe in a bit more details how do we can specify which new installation to import to?

Sites should reside on the same server so DB access can be gained?
(0000281)
alex   
2009-08-09 03:25   
This is how it works:

On language export screen you specify url of any In-Portal installation, that have In-Portal where such functionality is also present, like this: "http://www.in-portal.net" (no need to be on the same server). Also I now see, that we should specify admin's login and password for script to be able login remotely on other side. Then when you press "Save/Export" button on that screen and curl request, that logins you is sent to target site. If that works, then exported language pack (that normally you can download after export is done) is sent also via curl to target site. On target site received language pack is imported with no overwrite option.

This way you can populate same language pack, that can even contain multiple languages to other In-Portal based website without leaving your administrative console.

If error will happen during one of curl requests (can't login using given user and password or can't import language pack) then this error will be shown in appropriate field.