Hello Mandeep,

The PHP Runtime has a number of dynamically loadable extensions 
<https://cloud.google.com/appengine/docs/standard/php/runtime#dynamically_loadable_extensions>,
 
one of which being the intl extension 
<http://php.net/manual/en/book.intl.php> which should suit your needs.

As for "the way to configure locales" on Datastore, there is no built-in 
functionality specific to locales so you are free to choose your 
implementation. You could have each locale be represented by its own kind, 
you could use a field in entities of a kind to differentiate between 
locales or you could even use namespaces 
<https://cloud.google.com/datastore/docs/concepts/multitenancy>.

On Friday, September 8, 2017 at 7:08:11 AM UTC-4, Mandeep Kaur wrote:
>
> Hello,
>
> I am trying to implement I18n translation (using PHP gettext) on my 
> website which is deployed on Google Cloud.
>
> I have Implemented the translation using gettext on localhost by 
> configuring locales through command line (ubuntu) and its working fine 
> there. But when I upload, it becomes idle and does not perform any 
> translation.
>
> For enabling gettext extension I have externally included the gettext 
> library in the code.
> Please answer to my queries as follows:
>     1. What is the way to configure locales on Google Cloud Datastore?
>     2. If the above can not happen then what is the way to perform I18n 
> translation.
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0b829934-ebae-48fd-bd93-ccee818880c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine... Mandeep Kaur
    • [google-appe... 'Yannick (Cloud Platform Support)' via Google App Engine

Reply via email to