ElkArte Community

Extending Elk => Localization => Topic started by: TE on May 31, 2014, 02:06:22 pm

Title: Transifex Config
Post by: TE on May 31, 2014, 02:06:22 pm
Just for documentation.
This is the current configuration file (language file mappings) for downloading the translation from Transifex with the transifex client:

Code: (config) [Select]
[main]
host = https://www.transifex.com
lang_map = en: english, de: german, pl: polish, it: italian, id: indonesian, de_DE: german-formal, es: spain, ar: arabic, fr: french, nl: dutch, el: greek

[elkarte.Admin]
file_filter = themes/default/languages/<lang>/Admin.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.BadBehaviorlog]
file_filter = themes/default/languages/<lang>/BadBehaviorlog.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Drafts]
file_filter = themes/default/languages/<lang>/Drafts.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Editor]
file_filter = themes/default/languages/<lang>/Editor.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.EmailTemplates]
file_filter = themes/default/languages/<lang>/EmailTemplates.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Errors]
file_filter = themes/default/languages/<lang>/Errors.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Help]
file_filter = themes/default/languages/<lang>/Help.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.index]
file_filter = themes/default/languages/<lang>/index.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.install]
file_filter = themes/default/languages/<lang>/install.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Login]
file_filter = themes/default/languages/<lang>/Login.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Maillist]
file_filter = themes/default/languages/<lang>/Maillist.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Maintenance]
file_filter = themes/default/languages/<lang>/Maintenance.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManageBoards]
file_filter = themes/default/languages/<lang>/ManageBoards.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManageCalendar]
file_filter = themes/default/languages/<lang>/ManageCalendar.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManageMail]
file_filter = themes/default/languages/<lang>/ManageMail.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManageMembers]
file_filter = themes/default/languages/<lang>/ManageMembers.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManagePaid]
file_filter = themes/default/languages/<lang>/ManagePaid.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManagePermissions]
file_filter = themes/default/languages/<lang>/ManagePermissions.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManageScheduledTasks]
file_filter = themes/default/languages/<lang>/ManageScheduledTasks.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManageSettings]
file_filter = themes/default/languages/<lang>/ManageSettings.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManageSmileys]
file_filter = themes/default/languages/<lang>/ManageSmileys.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ManageThemes]
file_filter = themes/default/languages/<lang>/ManageThemes.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Manual]
file_filter = themes/default/languages/<lang>/Manual.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Mentions]
file_filter = themes/default/languages/<lang>/Mentions.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.ModerationCenter]
file_filter = themes/default/languages/<lang>/ModerationCenter.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Modlog]
file_filter = themes/default/languages/<lang>/Modlog.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Packages]
file_filter = themes/default/languages/<lang>/Packages.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.PersonalMessage]
file_filter = themes/default/languages/<lang>/PersonalMessage.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Post]
file_filter = themes/default/languages/<lang>/Post.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Profile]
file_filter = themes/default/languages/<lang>/Profile.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Reports]
file_filter = themes/default/languages/<lang>/Reports.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Search]
file_filter = themes/default/languages/<lang>/Search.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Settings]
file_filter = themes/default/languages/<lang>/Settings.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Stats]
file_filter = themes/default/languages/<lang>/Stats.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Validation]
file_filter = themes/default/languages/<lang>/Validation.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY

[elkarte.Who]
file_filter = themes/default/languages/<lang>/Who.<lang>.php
host = https://www.transifex.net
source_lang = en
type = PHP_ALT_ARRAY
Title: Re: Transifex Config
Post by: emanuele on June 07, 2014, 09:59:22 pm
And here attached a php to create the packages usable directly into the package manager. :D


It will automatically create one or more packages ready to be used with the package manager.
Title: Re: Transifex Config
Post by: emanuele on August 25, 2014, 12:01:28 am
I wonder if once pushed that way is possible also to push the translations back...
Title: Re: Transifex Config
Post by: emanuele on August 01, 2016, 10:24:47 pm
@TE the lang map in the config file should be updated to:
Code: [Select]
lang_map = en: english, de: german, pl: polish, it: italian, id: indonesian, de_DE: german-formal, es: spanish, ar: arabic, fr: french, nl: dutch, el: greek, pt: portuguese, es_419: spanish_latin, zh_CN: chinese, pt_BR: portuguese_brazilian, es_AR: spanish_argentina, hu: hungarian, th: thai

There are more actually, but these are the ones that appear on the site, so I guess for the time being that's enough.
Title: Re: Transifex Config
Post by: ahrasis on August 02, 2016, 03:43:45 am
And my for Malay / Malaysia. :)
Title: Re: Transifex Config
Post by: emanuele on August 02, 2016, 08:33:50 am
hmm... I feel this config was already old and the server changed in the meantime, because Malay is correctly converted...