×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Packages with php files instead of ini files?

Packages with php files instead of ini files? 10 years 2 months ago #27921

  • Nick A.
  • Nick A.'s Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Not sure if I have configured something wrong or if it is just a limitation of the script.

I am trying to see if we can use CTransifex to build CB language plugin packages.

Community Builder does not use ini files - instead we have PHP files on transifex.
I have setup the project and when I click the dual arrow generation button I get the modal popup and it looks like it is pulling in the various resource files.
But when it starts building I am getting messages like:

We are trying to generate zip for en

nothing else and I see no packages generated (although I might not be looking in the right place).

Any suggestions of debug guide welcomed.

Packages with php files instead of ini files? 10 years 2 months ago #27923

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Nick,
I don't remember anymore. It is a long time now that I last looked at the code. I did a quick search for .ini and couldn't find anything in the source code.
Is it possible that you have min_percentage set to a high value and the language packs that you are looking at have not reached that minimum percentage? We download and pack files that are only above that number.

Regards,
Daniel

Packages with php files instead of ini files? 10 years 2 months ago #27924

  • Nick A.
  • Nick A.'s Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thanks for your super fast response.

See comments below ..

Daniel Dimitrov wrote: Hey Nick,
I don't remember anymore. It is a long time now that I last looked at the code. I did a quick search for .ini and couldn't find anything in the source code.
Is it possible that you have min_percentage set to a high value and the language packs that you are looking at have not reached that minimum percentage? We download and pack files that are only above that number.

Regards,
Daniel


No idea where this min_percentage is set - but I know that I have 100% projects.
First of all this is the exact text seen in the modal popup:


Part of the message is hidden for the guests. Please log in or register to see it.


This is the transifex config file for the project:

[main]
host = www.transifex.com

[cb.admin_languagephp]
file_filter = translations/cb.admin_languagephp/<lang>.php
source_lang = en
type = PHP_ARRAY

[cb.cbteamplugins_languagephp]
file_filter = translations/cb.cbteamplugins_languagephp/<lang>.php
source_lang = en
type = PHP_ARRAY

[cb.languagephp]
file_filter = translations/cb.languagephp/<lang>.php
source_lang = en
type = PHP_DEFINE

Packages with php files instead of ini files? 10 years 1 month ago #27951

  • Nick A.
  • Nick A.'s Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
ok, with the help of Paulo Izidoro we have managed to track it down further - no error in erro log but there are also no folder created in the media ... /packages folder.

Packages with php files instead of ini files? 10 years 1 month ago #27987

  • Paulo Pereira
  • Paulo Pereira's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 27
  • Thank you received: 1
There must be an issue with your server. It works fine for me at http://translations.joomlapt.com/languagepacks/community-builder

This is my config file for your project https://www.transifex.com/projects/p/cb
; Transifex project URL: https://www.transifex.com/projects/p/cb
; Language packs download: http://translations.joomlapt.com/languagepacks
; TX config file by https://www.transifex.com/organization/JoomlaTranslators
; Transifex Tutorials: https://sites.google.com/site/transjoomla
 
[main]
host = https://www.transifex.com
lang_map = en: en-GB, af_ZA: af-ZA, am_ET: am-ET, ar_AA: ar-AA, ar_AE: ar-AE, ar_BH: ar-BH, ar_DZ: ar-DZ, ar_EG: ar-EG, ar_IQ: ar-IQ, ar_JO: ar-JO, ar_KW: ar-KW, ar_LB: ar-LB, ar_LY: ar-LY, ar_MA: ar-MA, ar_OM: ar-OM, ar_QA: ar-QA, ar_SA: ar-SA, ar_SY: sy-IQ, ar_TN: ar-TN, ar_YE: ar-YE, arn_CL: arn-CL, as_IN: as-IN, ast_ES: ast-ES, az_AZ: az-AZ, ba_RU: ba-RU, be_BY: be-BY, bg_BG: bg-BG, bn_BD: bn-BD, bn_IN: bn-IN, bo_CN: bo-CN, br_FR: br-FR, bs_BA: bs-BA, ca_ES: ca-ES, co_FR: co-FR, cs_CZ: cs-CZ, cy_GB: cy-GB, da_DK: da-DK, de_AT: de-AT, de_CH: de-CH, de_DE: de-DE, de_LI: de-LI, de_LU: de-LU, dsb_DE: dsb-DE, dv_MV: dv-MV, el_GR: el-GR, en_AU: en-AU, en_BZ: en-BZ, en_CA: en-CA, en_IE: en-IE, en_IN: en-IN, en_JM: en-JM, en_MY: en-MY, en_NZ: en-NZ, en_PH: en-PH, en_SG: en-SG, en_TT: en-TT, en_US: en-US, en_ZA: en-ZA, en_ZW: en-ZW, eo: eo-XX, es_AR: es-AR, es_BO: es-BO, es_CL: es-CL, es_CO: es-CO, es_CR: es-CR, es_DO: es-DO, es_EC: es-EC, es_ES: es-ES, es_GT: es-GT, es_HN: es-HN, es_MX: es-MX, es_NI: es-NI, es_PA: es-PA, es_PE: es-PE, es_PR: es-PR, es_PY: es-PY, es_SV: es-SV, es_US: es-US, es_UY: es-UY, es_VE: es-VE, et_EE: et-EE, eu_ES: eu-ES, fa_IR: fa-IR, fi_FI: fi-FI, fil_PH: fil-PH, fo_FO: fo-FO, fr_BE: fr-BE, fr_CA: fr-CA, fr_CH: fr-CH, fr_FR: fr-FR, fr_LU: fr-LU, fr_MC: fr-MC, fy_NL: fy-NL, ga_IE: ga-IE, gd: gd-GB, gl_ES: gl-ES, gsw_FR: gsw-FR, gu_IN: gu-IN, ha_NG: ha-NG, he_IL: he-IL, hi_IN: hi-IN, hr_BA: hr-BA, hr_HR: hr-HR, hsb_DE: hsb-DE, hu_HU: hu-HU, hy_AM: hy-AM, id_ID: id-ID, ig_NG: ig-NG, ii_CN: ii-CN, is_IS: is-IS, it_CH: it-CH, it_IT: it-IT, iu_CA: iu-CA, ja_JP: ja-JP, ka_GE: ka-GE, kk_KZ: kk-KZ, kl_GL: kl-GL, km_KH: km-KH, kn_IN: kn-IN, ko_KR: ko-KR, ku_IQ: ckb-IQ, kok_IN: kok-IN, ky_KG: ky-KG, lb_LU: lb-LU, lo_LA: lo-LA, lt_LT: lt-LT, lv_LV: lv-LV, mi_NZ: mi-NZ, mk_MK: mk-MK, ml_IN: ml-IN, mn_CN: mn-CN, mn_MN: mn-MN, moh_CA: moh-CA, mr_IN: mr-IN, ms_BN: ms-BN, ms_MY: ms-MY, mt_MT: mt-MT, my_MM : my-MM, nb_NO: nb-NO, ne_NP: ne-NP, nl_BE: nl-BE, nl_NL: nl-NL, nn_NO: nn-NO, nso_ZA: nso-ZA, oc_FR: oc-FR, or_IN: or-IN, pa_IN: pa-IN, pl_PL: pl-PL, prs_AF: prs-AF, ps: ps-AF, pt_BR: pt-BR, pt_PT: pt-PT, qut_GT: qut-GT, quz_BO: quz-BO, quz_EC: quz-EC, quz_PE: quz-PE, rm_CH: rm-CH, ro_RO: ro-RO, ru_RU: ru-RU, rw_RW: rw-RW, sa_IN: sa-IN, sah_RU: sah-RU, sd: sd-PK, se_FI: se-FI, se_NO: se-NO, se_SE: se-SE, si_LK: si-LK, sk_SK: sk-SK, sl_SI: sl-SI, sma_NO: sma-NO, sma_SE: sma-SE, smj_NO: smj-NO, smj_SE: smj-SE, smn_FI: smn-FI, sms_FI: sms-FI, sq_AL: sq-AL, sr@latin: sr-YU, sr_BA: sr-BA, sr_CS: sr-CS, sr_ME: sr-ME, sr_RS: sr-RS, sv_FI: sv-FI, sv_SE: sv-SE, sw_KE: sw-KE, syr_SY: syr-SY, ta_IN: ta-IN, te_IN: te-IN, tet: tet-TL, tg_TJ: tg-TJ, tl_PH: tl-PH, th_TH: th-TH, tk_TM: tk-TM, tn_ZA: tn-ZA, tr_TR: tr-TR, tt_RU: tt-RU, tzm_DZ: tzm-DZ, ug: ug-CN, uk_UA: uk-UA, ur_PK: ur-PK, uz@Latn: uz-UZ, uz@Cyrl: uzb-UZ, vi_VN: vi-VN, wo_SN: wo-SN, xh_ZA: xh-ZA, yo_NG: yo-NG, zh_CN: zh-CN, zh_HK: zh-HK, zh_MO: zh-MO, zh_SG: zh-SG, zh_TW: zh-TW, zu_ZA: zu-ZA
minimum_perc = 0
type = PHP
 
[cb.admin_language]
file_filter = translations/communitybuilder/<lang>/admin/admin_language.php
source_file = translations/communitybuilder/en-GB/admin/admin_language.php
source_lang = en
type = PHP
 
[cb.language]
file_filter = translations/communitybuilder/<lang>/site/language.php
source_file = translations/communitybuilder/en-GB/site/language.php
source_lang = en
type = PHP

Packages with php files instead of ini files? 10 years 1 month ago #27996

  • Nick A.
  • Nick A.'s Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
ok - what exactly does this represent?

file_filter = translations/communitybuilder/<lang>/admin/admin_language.php
source_file = translations/communitybuilder/en-GB/admin/admin_language.php

Is this related to the transifex site or the ctransifex installation?
  • Page:
  • 1
Time to create page: 0.107 seconds