Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

Create your module with mymodule.info.yml

name: 'My Module'
description: 'Custom Module'
package: Custom
type: module
core: 8.x

and then add this code to .info.yml file to define your translation file:


project: mymodule
'interface translation project': mymodule
'interface translation server pattern': modules/custom/mymodule/translations/mymodule-%language.po

 

Placing the po file at modules/custom/mymodule/translations/mymodule-fr.po for example for french language.

now you could update the translation at /fr/admin/reports/translations

and dont forget to clear the cache :)

Riadh Rahmi

Senior Web Developer (Drupal & Laravel)

I am a senior web developer, I have experience in planning and developing large scale dynamic web applications especially in Drupal, Laravel.

Web Posts

Search

Page Facebook