I’m using trntv/Yii2-starter-kit. How can I extract messages to DB? My config: ‘*’=> [ ‘class’ => ‘yiii18nDbMessageSource’, ‘sourceMessageTable’=>'{{%i18n_source_message}}’, ‘…
Tag: internationalization
formatting local phone numbers into international (knowing countries)
I use an SMS API to send confirmation code to phone. Its parameters requires me to set the visitors phone number format into international, for example +9912345678 instead of 012 345 678. Is there a php class (without Composer) that would do it for me (could not find anything so far on GG), considering I know user’s both country (from
Best practice multi language website
I’ve been struggling with this question for quite some months now, but I haven’t been in a situation that I needed to explore all possible options before. Right now, I feel like it’s time to get to know the possibilities and create my own personal preference to use in my upcoming projects. Let me first sketch the situation I’m looking
CakePHP cache i18n translate
When I forget to translate something, somewhere Project VIEW, I change the file /app/Locale/por/LC_MESSAGES/default.po and sending it back to the server. But mostly, this ‘new translation’, takes …
PHP/MySQL web-app Internationalization with enum DB fields
I have joined a project recently and now I’m working on its Internationalization improvement. Technologies used are PHP/MySQL/Zend Framework/Dojo. I18n is implemented using gettext almost as described …