@@ -32,35 +32,35 @@ const translationsResource: AdminForthResourceInput = {
3232 } ,
3333 } ,
3434 plugins : [
35- new I18nPlugin ( {
36- supportedLanguages : [ 'en' , 'uk' , 'ja' , 'fr' , 'de' ] , // names of the fields in the resource which will store translations
37- translationFieldNames : {
38- en : 'en_string' ,
39- uk : 'uk_string' ,
40- ja : 'ja_string' ,
41- fr : 'fr_string' ,
42- de : 'de_string' ,
43- } ,
35+ // new I18nPlugin({
36+ // supportedLanguages: ['en', 'uk', 'ja', 'fr', 'de'], // names of the fields in the resource which will store translations
37+ // translationFieldNames: {
38+ // en: 'en_string',
39+ // uk: 'uk_string',
40+ // ja: 'ja_string',
41+ // fr: 'fr_string',
42+ // de: 'de_string',
43+ // },
4444
45- // name of the field which will store the category of the string
46- // this helps to categorize strings and deliver them efficiently
47- categoryFieldName : 'category' ,
45+ // // name of the field which will store the category of the string
46+ // // this helps to categorize strings and deliver them efficiently
47+ // categoryFieldName: 'category',
4848
49- // optional field to store the source (e.g. source file name)
50- sourceFieldName : 'source' ,
49+ // // optional field to store the source (e.g. source file name)
50+ // sourceFieldName: 'source',
5151
52- // optional field store list of completed translations
53- // will hel to filter out incomplete translations
54- completedFieldName : 'completedLangs' ,
52+ // // optional field store list of completed translations
53+ // // will hel to filter out incomplete translations
54+ // completedFieldName: 'completedLangs',
5555
56- completeAdapter : new CompletionAdapterOpenAIResponses ( {
57- openAiApiKey : process . env . OPENAI_API_KEY as string ,
58- model : 'gpt-5.4-mini' ,
59- extraRequestBodyParameters : {
60- temperature : 0.5 ,
61- } ,
62- } ) ,
63- } ) ,
56+ // completeAdapter: new CompletionAdapterOpenAIResponses({
57+ // openAiApiKey: process.env.OPENAI_API_KEY as string,
58+ // model: 'gpt-5.4-mini',
59+ // extraRequestBodyParameters: {
60+ // temperature: 0.5,
61+ // },
62+ // }),
63+ // }),
6464
6565 ] ,
6666 options : {
0 commit comments