Hot answers tagged

6 votes

Multilingual instances show 'no such field' errors after update

In the latest version, you can also rebuild the multilingual schema yourself by navigating to API Explorer http://www.site-name/civicrm/api#explorer Select Entity = System, Action = ...
jitendra - fuzion's user avatar
4 votes

Getting civicrm in Israel and in Hebrew and English

The program is Open Source, so it is available everywhere. When you download CiviCRM at https://civicrm.org/download/list you can also download the Localization files. The Hebrew language is ...
Catorghans's user avatar
  • 3,544
4 votes

Why are country names not translated

This is my fault, sorry about that. The short answer, is that I think we should revert a change related to country names. This could probably be done for CiviCRM 4.7.9. Long answer and mea culpa: I ...
bgm's user avatar
  • 3,356
4 votes

Why are country names not translated

We couldn't find an official translations for country names for ISO 3166-1 into languages other than English and French. If you could provide them that would be great. The Canadian government ...
Joe Murray's user avatar
  • 6,731
4 votes
Accepted

Why are country names not translated

I am not using the German version, but have translated the Norwegian version of the country names. There I also have just copied the English version, and only changed the name of my own country. One ...
Flying's user avatar
  • 2,251
4 votes
Accepted

howto install l10n autofetch

The l10n update extension has not been compatible with CiviCRM since version 4.7 of CiviCRM was released in 2016 there does not appear to be any concerted effort underway to bring this extension up-to-...
HomoTechsual's user avatar
  • 1,128
3 votes

CiviVolunteer - Where to put translations file on WordPress

Based on this https://github.com/cividesk/com.cividesk.l10n.update/blob/master/l10nupdate.php#L131 it looks like it needs to be within the extension folder in folders 10n//LC_Messages/volunteer.mo ...
Seamus Lee's user avatar
  • 1,289
3 votes
Accepted

Which directories in an extension get scanned by CiviStrings

The civistrings command doesn't have a prescribed list of directories. It takes a list of paths (files or directories) as an input. For example, here's an excerpt of running it against the api4 ...
Tim Otten's user avatar
  • 5,664
3 votes
Accepted

Running a script from cli

The command cv (https://github.com/civicrm/cv) provides helpers for running PHP code via CLI. For example, to run a single line of PHP code, you might say: cd web-root cv ev 'CRM_Core_I18n_Schema::...
Tim Otten's user avatar
  • 5,664
3 votes

How do I proceed to make CiviCRM bilingual

Languages options allow you to limit the preferred language for your contacts. It's not related to multilingual setting. To enable multilingual, you need to go to : menu Administer -> Localization ->...
samuelsov's user avatar
  • 2,321
2 votes

Show translated string in a template field (using smarty?)

I got it: {if $tsLocale eq 'es_ES'} Spanish string {else} Catalan string {/if} An easy way, useful to translate custom form strings used once, for example ;-)
calbasi's user avatar
  • 81
2 votes

Translating CiviEvent Public pages

All those strings should be in transifex (and compiled in the .mo files). Please keep in mind that the string might contains HTML and what you see as one big paragraph on the screen might be in fact ...
samuelsov's user avatar
  • 2,321
2 votes
Accepted

Why settings.default.json file is neglected during install?

The solution was: Add a define('CIVICRM_L10N_BASEDIR', '/var/aegir/platforms/YOUR-PATH'); statement to platform.settings.php file of Aegir (see: Altering Aegir's Behaviours), to set an environmental ...
Doka's user avatar
  • 387
2 votes

Getting civicrm in Israel and in Hebrew and English

While CiviCRM is available in Israel, you would probably need to help out with the translation effort to Hebrew. Currently only 12% of the strings are translated. https://www.transifex.com/civicrm/...
Alain Schaefer's user avatar
1 vote

Why is CiviCRM mistranslating my string?

In the file /CRM/Core/BAO/WordReplacement.php you've got this delightful stanza: // So. Weird. Some bizarre/probably-broken multi-lingual thing where // data isn't really stored in ...
Alan Dixon's user avatar
  • 6,644
1 vote

A couple of typo mistakes

Pino, thanks for reporting this I have submitted a PR to fix above typo For Potugal and Coimbra state/province For Poland state/provionce, typed in lower case Would you mind doing some test or ...
Pradeep Nayak's user avatar
1 vote

Contribution Tab not visible after upgrade to 5.2.1

Switch in English language. In "display preferences" you will find the un-flaged contribution field. Flag it and return in Italian language. You will see that it works. I do not know what the reason ...
Alessandro Letizia's user avatar
1 vote

Translate Personal Campaign Pages / User interface

Some of these strings are configurations, others are core-strings in the CiviCRM source code. templates/CRM/PCP/Page/PCPInfo.tpl : <div class="thermometer-pointer"><span class="pcp-percent-...
bgm's user avatar
  • 3,356
1 vote

Can a message template replace tokens with appropriate translations?

This is not really an answer but a work around. You can use smarty's to look for the English and replace it with the French (which I'm guessing at). {if "{contact.gender}" eq "Female"} Femme {...
Paul-Tahoe's user avatar
  • 2,933
1 vote
Accepted

DB table that exists says it doesn't

It's not really an answer, but I did fiddle around with things enough to break it into working again. I ended up dumping the DB to a backup, dropping both new columns, civicrm_price_field_value....
G H's user avatar
  • 1,146
1 vote

Removing avaliable languages from Localization

You can't do it right now using UI. It's a known limitation. cf. https://issues.civicrm.org/jira/browse/CRM-10006 It's not a high priority bug right now (not scheduled for a fix).
samuelsov's user avatar
  • 2,321
1 vote
Accepted

How to localize opt-out link in mailing

Yes, it's a know limitation. The language used is the language of the cron job. If you manually launch the scheduled task with the proper language, you should be able to send in the proper language. ...
samuelsov's user avatar
  • 2,321
1 vote

Multilingual support and database issues -- how many languages?

In addition to the answers of Xavier and Mathieu I would like to add some non-technical aspects for your consideration. IMHO a multilanguage set up considerably raises complexity in a lot of ways for ...
Fabian's user avatar
  • 3,472
1 vote

Multilingual support and database issues -- how many languages?

So the problem is that each new language is stored as a separate column for each translated field (eg title, body...), so the more fields that are translated and the more new language you add, the ...
Xavier's user avatar
  • 10.2k
1 vote

How to install translated database strings?

I managed to install CiviCRM in Joomla with the database translated strings, but I had to replace the civicrm_data.mysql file with the content of the civicrm_data.fr_CA.mysql file. Here is what I did,...
Mathieu's user avatar
  • 31
1 vote

Call event registration with specific language through Wordpress

Polylang is not supported by CiviCRM yet but it should change soon : I have just submitted a patch here : https://github.com/civicrm/civicrm-core/pull/11312 If you still have a need for this ...
samuelsov's user avatar
  • 2,321

Only top scored, non community-wiki answers of a minimum length are eligible